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
@@ -41,7 +41,7 @@
USAGE: PRIOQUEUE_OPLIST(name[, oplist of the type]) */
#define PRIOQUEUE_OPLIST(...) \
PRIOQUEUEI_OPLIST(M_IF_NARGS_EQ1(__VA_ARGS__) \
((__VA_ARGS__, M_GLOBAL_OPLIST_OR_DEF(__VA_ARGS__)() ), \
((__VA_ARGS__, M_DEFAULT_OPLIST), \
(__VA_ARGS__ )))