debug: fix condition sense in CHECK_ENUM

This commit is contained in:
Danny Robson 2016-02-12 12:57:23 +11:00
parent ea1dbd253a
commit f6d8bca9a9

View File

@ -227,7 +227,7 @@
\
if (std::find (std::cbegin (__e), \
std::cend (__e), \
__c) != std::end (__e)) { \
__c) == std::end (__e)) { \
_CHECK_PANIC("expect enum\n" \
"__c: %s is $!", \
#C, __c); \