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:
Patrick Pelissier committed 2018-09-15 17:59:50 +02:00
1 parent 6a1b2a3964
commit e0c456490a
9 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@
USAGE: ISHARED_OPLIST(name [, oplist_of_the_type]) */
#define ISHARED_PTR_OPLIST(...) \
ISHAREDI_PTR_OPLIST(M_IF_NARGS_EQ1(__VA_ARGS__) \
((__VA_ARGS__, M_GLOBAL_OPLIST_OR_DEF(__VA_ARGS__)() ), \
((__VA_ARGS__, M_DEFAULT_OPLIST), \
(__VA_ARGS__ )))
/* Interface to add to a structure to allow intrusive support.