summaryrefslogtreecommitdiffstats
path: root/src/LeakFinder.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-09-28 10:14:09 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-09-28 10:14:09 +0200
commit4ddff15710c9814c1fa6875570a9a18e22943605 (patch)
treeb293d16f89898708337423aaf8b6f2370c025504 /src/LeakFinder.cpp
parentMerge pull request #2504 from SafwatHalaby/revert (diff)
parentAdded the _UNICODE flag on Windows (diff)
downloadcuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar
cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.gz
cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.bz2
cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.lz
cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.xz
cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.tar.zst
cuberite-4ddff15710c9814c1fa6875570a9a18e22943605.zip
Diffstat (limited to '')
-rw-r--r--src/LeakFinder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LeakFinder.cpp b/src/LeakFinder.cpp
index 2e352af2d..dba8275c8 100644
--- a/src/LeakFinder.cpp
+++ b/src/LeakFinder.cpp
@@ -875,7 +875,7 @@ static int MyAllocHook(int nAllocType, void *pvData,
printf("********************************************\n");
printf("Please wait\n");
- LeakFinderXmlOutput Output("memdump.xml");
+ LeakFinderXmlOutput Output(L"memdump.xml");
DumpUsedMemory(&Output);
printf("\nMemory dump complete. Server will now abort.\n");
@@ -912,7 +912,7 @@ static int MyAllocHook(int nAllocType, void *pvData,
printf("********************************************\n");
printf("Please wait\n");
- LeakFinderXmlOutput Output("memdump.xml");
+ LeakFinderXmlOutput Output(L"memdump.xml");
DumpUsedMemory(&Output);
printf("\nMemory dump complete. Server will now abort.\n");
@@ -955,7 +955,7 @@ static int MyAllocHook(int nAllocType, void *pvData,
printf("******************************************\n");
printf("Please wait\n");
- LeakFinderXmlOutput Output("memdump.xml");
+ LeakFinderXmlOutput Output(L"memdump.xml");
DumpUsedMemory(&Output);
printf("\nMemory dump complete. Server will now abort.\n");