From 5e3e204766bc5ce0f6335d12de0c4f0f03f20d00 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 10 Feb 2012 19:58:06 -1000 Subject: Do not evaluate strings as booleans --- src/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cc') 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 -- cgit v1.2.3