diff options
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r-- | lib/common/Box.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/common/Box.h b/lib/common/Box.h index a262741d..b9f5fe91 100644 --- a/lib/common/Box.h +++ b/lib/common/Box.h @@ -1,11 +1,12 @@ -// distribution boxbackup-0.11rc1 (svn version: 2023_2024) +// distribution boxbackup-0.11rc2 (svn version: 2072) // -// Copyright (c) 2003 - 2006 +// Copyright (c) 2003 - 2008 // Ben Summers and contributors. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: +// // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright @@ -78,7 +79,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 |