diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-09 10:01:44 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-22 16:30:02 +0200 |
commit | 277ffa2881d4073a660490f959cb58ad0dcb3f82 (patch) | |
tree | 977673e28b98ca17782990d8a3325291b2317b10 /Source/cmServerConnection.cxx | |
parent | f4475eb92beade22fca16f21b40df19b48c6559b (diff) | |
download | cmake-277ffa2881d4073a660490f959cb58ad0dcb3f82.tar.gz |
server-mode: Move constants for server mode into its own file
This removes some duplication and makes it easier to reuse the
vocabulary.
Diffstat (limited to 'Source/cmServerConnection.cxx')
-rw-r--r-- | Source/cmServerConnection.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmServerConnection.cxx b/Source/cmServerConnection.cxx index 398e250ec7..112cafd7c8 100644 --- a/Source/cmServerConnection.cxx +++ b/Source/cmServerConnection.cxx @@ -13,15 +13,14 @@ #include "cmServerConnection.h" +#include "cmServerDictionary.h" + #include <cmServer.h> #include <assert.h> namespace { -static const std::string kSTART_MAGIC = "[== CMake Server ==["; -static const std::string kEND_MAGIC = "]== CMake Server ==]"; - struct write_req_t { uv_write_t req; |