From 3ba9e008ae1a7c10bd04f500848c5f2ad41fbf1e Mon Sep 17 00:00:00 2001 From: anonymous Date: Tue, 10 May 2011 17:10:42 +0700 Subject: fixed condition for new handler in nothrow operator new --- src/memory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory.cc b/src/memory.cc index 5e09d65..655c761 100644 --- a/src/memory.cc +++ b/src/memory.cc @@ -64,7 +64,7 @@ void* operator new(size_t size, const std::nothrow_t &) throw() void *mem = malloc(size); while (0 == mem) { - if (0 == new_handl) + if (0 != new_handl) { try { -- cgit v1.2.3