Fix definition of oplist for containers:
if no argument is given, it shall behave as if it was defined with a standard C type.
This commit is contained in:
1 parent
6a1b2a3964
commit
e0c456490a
9 files changed
+10
-10
No files matched your search
+1
-1
@@ -33,7 +33,7 @@
|
||||
USAGE: SHARED_OPLIST(name [, oplist_of_the_type]) */
|
||||
#define SHARED_PTR_OPLIST(...) \
|
||||
SHAREDI_PTR_OPLIST(M_IF_NARGS_EQ1(__VA_ARGS__) \
|
||||
((__VA_ARGS__, M_GLOBAL_OPLIST_OR_DEF(__VA_ARGS__)() ), \
|
||||
((__VA_ARGS__, M_DEFAULT_OPLIST ), \
|
||||
_OPLIST(__VA_ARGS__ )))
|
||||
|
||||
/* Define shared pointer and its function.
|
||||
|
||||
Reference in new issue
Block a user