diff options
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r-- | lib/common/Box.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Box.h b/lib/common/Box.h index abaad9f2..d0e7ab1e 100644 --- a/lib/common/Box.h +++ b/lib/common/Box.h @@ -40,7 +40,7 @@ extern bool AssertFailuresToSyslog; #define ASSERT_FAILS_TO_SYSLOG_ON {AssertFailuresToSyslog = true;} - void BoxDebugAssertFailed(char *cond, char *file, int line); + void BoxDebugAssertFailed(const char *cond, const char *file, int line); #define ASSERT(cond) {if(!(cond)) {BoxDebugAssertFailed(#cond, __FILE__, __LINE__); THROW_EXCEPTION(CommonException, AssertFailed)}} // Note that syslog tracing is independent of BoxDebugTraceOn, but stdout tracing is not |