summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-15 14:57:27 +0200
committertycho <work.tycho@gmail.com>2015-05-16 11:47:04 +0200
commitc96849f431bb4152a4258d2480bef8cd272e0c6e (patch)
tree0ca69086678f31818311cd9f9a3f00a094a425d9 /src/main.cpp
parentInitial implementation of IniFile overloading (diff)
downloadcuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.tar
cuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.tar.gz
cuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.tar.bz2
cuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.tar.lz
cuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.tar.xz
cuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.tar.zst
cuberite-c96849f431bb4152a4258d2480bef8cd272e0c6e.zip
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d37ff0b32..9f57ad6bd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -376,7 +376,7 @@ std::unique_ptr<cMemorySettingsRepository> parseArguments(int argc, char **argv)
int slots = slotsArg.getValue();
- auto repo = make_unique<cMemorySettingsRepository>();
+ auto repo = cpp14::make_unique<cMemorySettingsRepository>();
repo->SetValueI("Server", "MaxPlayers", slots);