summaryrefslogtreecommitdiffstats
path: root/src/MemoryLeak.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-06-19 11:05:19 +0200
committerGitHub <noreply@github.com>2017-06-19 11:05:19 +0200
commit7ac3b0fa0b22cb531667995099afd5eea8607884 (patch)
tree79634067fdfd779cf8a5409d9f04279ee7cfdb93 /src/MemoryLeak.h
parentNetworkSingleton: Fixed an object leak upon termination. (diff)
downloadcuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.tar
cuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.tar.gz
cuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.tar.bz2
cuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.tar.lz
cuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.tar.xz
cuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.tar.zst
cuberite-7ac3b0fa0b22cb531667995099afd5eea8607884.zip
Diffstat (limited to 'src/MemoryLeak.h')
-rw-r--r--src/MemoryLeak.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/MemoryLeak.h b/src/MemoryLeak.h
deleted file mode 100644
index 441429c23..000000000
--- a/src/MemoryLeak.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#pragma once
-
-#ifdef _WIN32
- #ifdef _DEBUG
- // Enable the CRT debugging features:
- #define _CRTDBG_MAP_ALLOC
- #include <stdlib.h>
- #include <crtdbg.h>
-
- // This works only in MSVC 2010+:
- #if _MSC_VER >= 1600
- // Map the new operator
- #ifndef DEBUG_NEW
- #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
- #define new DEBUG_NEW
- #endif // _CRTDBG_MAP_ALLOC
- #endif // _MSC_VER
- #endif // _DEBUG
-#endif // _WIN32