summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-26 11:00:46 +0100
committerMattes D <github@xoft.cz>2014-11-26 11:00:46 +0100
commita9e77fe7daa0874cb67d055b34d2a0efee6adbd3 (patch)
tree69b12622eb290b8a3ab07b0a70afc7f68dfa0f67 /src/Root.cpp
parentWindows: Fixed builds with LeakFinder enabled. (diff)
downloadcuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.tar
cuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.tar.gz
cuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.tar.bz2
cuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.tar.lz
cuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.tar.xz
cuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.tar.zst
cuberite-a9e77fe7daa0874cb67d055b34d2a0efee6adbd3.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 55e1c1156..e309bb174 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -154,7 +154,7 @@ void cRoot::Start(void)
m_WebAdmin->Init();
LOGD("Loading settings...");
- m_RankManager = new cRankManager();
+ m_RankManager.reset(new cRankManager());
m_RankManager->Initialize(m_MojangAPI);
m_CraftingRecipes = new cCraftingRecipes;
m_FurnaceRecipe = new cFurnaceRecipe();