summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-30 21:15:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-30 21:27:57 +0300
commitfce58131916103f3c2120adafcf59895a402a634 (patch)
treeaa2cebb167d7c6ffb90a71a631132779597bf2d4 /src/commandhandler.cpp
parent3e22726df1aecf9db96b558c9e7597166d685ad2 (diff)
downloadmv-fce58131916103f3c2120adafcf59895a402a634.tar.gz
mv-fce58131916103f3c2120adafcf59895a402a634.tar.bz2
mv-fce58131916103f3c2120adafcf59895a402a634.tar.xz
mv-fce58131916103f3c2120adafcf59895a402a634.zip
Extend leak detection features.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 1afc332cb..8ed68ae20 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -61,7 +61,7 @@
#include "openglgraphics.h"
#endif
-#ifdef DEBUG_DUMP_LEAKS
+#ifdef DEBUG_DUMP_LEAKS1
#include "resources/image.h"
#include "resources/resource.h"
#include "resources/resourcemanager.h"
@@ -1212,7 +1212,7 @@ void CommandHandler::handleError(const std::string &args A_UNUSED,
logger->log("test %d", *ptr);
}
-#ifdef DEBUG_DUMP_LEAKS
+#ifdef DEBUG_DUMP_LEAKS1
void showRes(std::string str, ResourceManager::Resources *res);
void showRes(std::string str, ResourceManager::Resources *res)