summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-10 19:58:06 -1000
committerJohn Wiegley <johnw@newartisans.com>2012-02-11 16:53:31 -1000
commit5e3e204766bc5ce0f6335d12de0c4f0f03f20d00 (patch)
treef5ee338785fb57ab604f267b95370a7539901ad6 /src/utils.cc
parent9d1daa27e23864e0238c8fde2b6ad5f45ebe136a (diff)
downloadfork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.tar.gz
fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.tar.bz2
fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.zip
Do not evaluate strings as booleans
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 0cfe9e90..42600db3 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -189,7 +189,7 @@ static void trace_delete_func(void * ptr, const char * which)
if (i == live_memory->end()) {
i = freed_memory->find(ptr);
if (i != freed_memory->end())
- VERIFY(! "Freeing a block of memory twice");
+ VERIFY("Freeing a block of memory twice" == NULL);
#if 0
// There can be memory allocated by Boost or the standard library, which
// was allocated before memory tracing got turned on, that the system