Fixed stack trace macro

This commit is contained in:
Davis King 2017-12-01 19:53:57 -05:00
parent 4485543e73
commit 00910ac1d5

View File

@ -65,8 +65,8 @@ namespace dlib
}
// redefine the DLIB_CASSERT macro to include the stack trace
#undef DLIB_CASSERT
#define DLIB_CASSERT(_exp,_message) \
#undef DLIBM_CASSERT
#define DLIBM_CASSERT(_exp,_message) \
{if ( !(_exp) ) \
{ \
std::ostringstream dlib_o_out; \