summaryrefslogtreecommitdiffstats
path: root/Source/cmServer.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-07-02 09:08:04 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2019-07-14 13:37:30 (GMT)
commitd9b2c7dae242868f13fc366773fb09448da26e8d (patch)
tree12e97152327bdff419861deded5b2f7d6a0961be /Source/cmServer.cxx
parent81389a5e8f14a09d26a8efb22fd12063168caba6 (diff)
downloadCMake-d9b2c7dae242868f13fc366773fb09448da26e8d.zip
CMake-d9b2c7dae242868f13fc366773fb09448da26e8d.tar.gz
CMake-d9b2c7dae242868f13fc366773fb09448da26e8d.tar.bz2
Introduce memory management helper: cm_memory.hxx
Diffstat (limited to 'Source/cmServer.cxx')
-rw-r--r--Source/cmServer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx
index 1903fd9..9df1883 100644
--- a/Source/cmServer.cxx
+++ b/Source/cmServer.cxx
@@ -2,7 +2,6 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmServer.h"
-#include "cmAlgorithms.h"
#include "cmConnection.h"
#include "cmFileMonitor.h"
#include "cmJsonObjectDictionary.h"
@@ -18,10 +17,11 @@
#include <cassert>
#include <cstdint>
#include <iostream>
-#include <memory>
#include <mutex>
#include <utility>
+#include "cm_memory.hxx"
+
void on_signal(uv_signal_t* signal, int signum)
{
auto conn = static_cast<cmServerBase*>(signal->data);