debug: fix condition sense in CHECK_ENUM
This commit is contained in:
parent
ea1dbd253a
commit
f6d8bca9a9
@ -227,7 +227,7 @@
|
|||||||
\
|
\
|
||||||
if (std::find (std::cbegin (__e), \
|
if (std::find (std::cbegin (__e), \
|
||||||
std::cend (__e), \
|
std::cend (__e), \
|
||||||
__c) != std::end (__e)) { \
|
__c) == std::end (__e)) { \
|
||||||
_CHECK_PANIC("expect enum\n" \
|
_CHECK_PANIC("expect enum\n" \
|
||||||
"__c: %s is $!", \
|
"__c: %s is $!", \
|
||||||
#C, __c); \
|
#C, __c); \
|
||||||
|
Loading…
Reference in New Issue
Block a user