summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-07-31 16:49:10 +0200
committerMattes D <github@xoft.cz>2015-07-31 16:49:10 +0200
commit6e4122e551eeb41d3e950b363dd837d5586fe560 (patch)
treeb5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/Server.cpp
parentMerge pull request #2400 from cuberite/OffloadBadChunks (diff)
downloadcuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.gz
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.bz2
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.lz
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.xz
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.zst
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index fd3188b18..313db90e6 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -33,10 +33,10 @@ extern "C"
-// For the "dumpmem" server command:
-/// Synchronize this with main.cpp - the leak finder needs initialization before it can be used to dump memory
-// _X 2014_02_20: Disabled for canon repo, it makes the debug version too slow in MSVC2013
-// and we haven't had a memory leak for over a year anyway.
+/** Enable the memory leak finder - needed for the "dumpmem" server command:
+Synchronize this with main.cpp - the leak finder needs initialization before it can be used to dump memory
+_X 2014_02_20: Disabled for canon repo, it makes the debug version too slow in MSVC2013
+and we haven't had a memory leak for over a year anyway. */
// #define ENABLE_LEAK_FINDER
#if defined(_MSC_VER) && defined(_DEBUG) && defined(ENABLE_LEAK_FINDER)