summaryrefslogtreecommitdiffstats
path: root/Source/cmServer.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-16 22:41:18 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-26 05:46:57 (GMT)
commit4614a3b287456fad12bcb91ad2936214da3237bf (patch)
tree73b988b53642367f65a43795b9cba783f04a0fe0 /Source/cmServer.cxx
parentebe436eb97bf81704a1d0b074b3da4ac817f37d3 (diff)
downloadCMake-4614a3b287456fad12bcb91ad2936214da3237bf.zip
CMake-4614a3b287456fad12bcb91ad2936214da3237bf.tar.gz
CMake-4614a3b287456fad12bcb91ad2936214da3237bf.tar.bz2
server: backport to C++11
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r--Source/cmServer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx
index 04810c6..d3aeb0b 100644
--- a/Source/cmServer.cxx
+++ b/Source/cmServer.cxx
@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmServer.h"
+#include "cmAlgorithms.h"
#include "cmConnection.h"
#include "cmFileMonitor.h"
#include "cmServerDictionary.h"
@@ -78,7 +79,7 @@ void cmServer::ProcessRequest(cmConnection* connection,
std::unique_ptr<DebugInfo> debug;
Json::Value debugValue = value["debug"];
if (!debugValue.isNull()) {
- debug = std::make_unique<DebugInfo>();
+ debug = cm::make_unique<DebugInfo>();
debug->OutputFile = debugValue["dumpToFile"].asString();
debug->PrintStatistics = debugValue["showStats"].asBool();
}