summaryrefslogtreecommitdiffstats
path: root/src/LeakFinder.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-11-18 14:56:32 +0100
committerHowaner <franzi.moos@googlemail.com>2014-11-18 14:56:32 +0100
commit42120e2ea5db0cdb9920ff1c5efef33e0f496d48 (patch)
tree20ba1ae0a53f757cb8814b6cd6a466fe5acf1308 /src/LeakFinder.h
parentFixed compile errors. (diff)
parentMerge pull request #1598 from mc-server/SignEditor (diff)
downloadcuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.tar
cuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.tar.gz
cuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.tar.bz2
cuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.tar.lz
cuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.tar.xz
cuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.tar.zst
cuberite-42120e2ea5db0cdb9920ff1c5efef33e0f496d48.zip
Diffstat (limited to '')
-rw-r--r--src/LeakFinder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LeakFinder.h b/src/LeakFinder.h
index e63b9ec5d..ceaa53782 100644
--- a/src/LeakFinder.h
+++ b/src/LeakFinder.h
@@ -68,7 +68,7 @@ public:
LeakFinderShowCompleteCallstack = 0x1000
} LeakFinderOptions;
- LeakFinderOutput(int options = OptionsAll, LPCSTR szSymPath = NULL);
+ LeakFinderOutput(int options = OptionsAll, LPCSTR szSymPath = nullptr);
virtual void OnLeakSearchStart(LPCSTR sszLeakFinderName);
virtual void OnLeakStartEntry(LPCSTR szKeyName, SIZE_T nDataSize);
protected:
@@ -110,7 +110,7 @@ class ZZZ_LeakFinder
public:
ZZZ_LeakFinder()
{
- m_pXml = NULL;
+ m_pXml = nullptr;
#ifdef XML_LEAK_FINDER
m_pXml = new LeakFinderXmlOutput();
#endif
@@ -119,7 +119,7 @@ public:
~ZZZ_LeakFinder()
{
DeinitLeakFinder(m_pXml);
- if (m_pXml != NULL) delete m_pXml;
+ if (m_pXml != nullptr) delete m_pXml;
}
protected:
LeakFinderXmlOutput *m_pXml;
@@ -148,7 +148,7 @@ ZZZ_LeakFinder zzz_LeakFinder;
-extern void DumpUsedMemory(LeakFinderOutput * output = NULL);
+extern void DumpUsedMemory(LeakFinderOutput * output = nullptr);