From 792c41011b27870504fcc1f9f4f1384918e0b608 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 May 2011 16:58:31 +0300 Subject: Totally disable memory leak detector if it not enabled. --- src/debug/debug_new.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/debug') diff --git a/src/debug/debug_new.cpp b/src/debug/debug_new.cpp index 3545af60a..98c44264e 100644 --- a/src/debug/debug_new.cpp +++ b/src/debug/debug_new.cpp @@ -39,6 +39,7 @@ * */ +#ifdef ENABLE_MEM_DEBUG #include #include #include @@ -850,3 +851,5 @@ __debug_new_counter::~__debug_new_counter() #endif } } + +#endif -- cgit v1.2.3-70-g09d2