mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed stack trace macro
This commit is contained in:
parent
4485543e73
commit
00910ac1d5
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user