diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h index f47cb4c..e910a25 100644 --- a/src/debug.h +++ b/src/debug.h @@ -36,8 +36,8 @@ inline void fail_at_msg(bool strict, const char *__file, int __line, const char #else // DEBUG -#define warning_msg(msg) cerr << "**** WARNING: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __PRETTY_FUNCTION__ << endl; -#define debug_msg(msg) cerr << "**** DEBUG: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __PRETTY_FUNCTION__ << endl; +#define warning_msg(msg) cerr << "**** WARNING: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __FUNCTION__ << endl; +#define debug_msg(msg) cerr << "**** DEBUG: " << msg << " in " << __FILE__ << " at line " << __LINE__ << " in " << __FUNCTION__ << endl; #define assert_issue(is_issue, expr) \ ((is_issue) ? enforce_msg(expr,"FAIL: ISSUE assert") : __ASSERT_VOID_CAST(0)) |