Guard against an incorrect use of assert()
This commit is contained in:
parent
0c1f40754a
commit
a916ed87bc
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ namespace ledger {
|
|||
|
||||
extern bool verify_enabled;
|
||||
|
||||
#define VERIFY(x) (ledger::verify_enabled ? assert(x) : ((void)0))
|
||||
#define VERIFY(x) if (ledger::verify_enabled) { assert(x); }
|
||||
#define DO_VERIFY() ledger::verify_enabled
|
||||
|
||||
void initialize_memory_tracing();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue