for some compilers, assert != terminate... fixup make_enum

This commit is contained in:
Chris Beck 2014-05-26 18:40:02 -04:00
parent f11b7ac6e7
commit 694a2c4fd1

View File

@ -179,6 +179,7 @@ PREFIX std::string CAT2(NAME,_to_string) (NAME val) \
{ \
BOOST_PP_SEQ_FOR_EACH(EXPANDENUMFUNCTIONREV, , MAKEPAIRS(CONTENT)) \
assert(false && "Corrupted enum found with identifier NAME"); \
throw 42; \
}