diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-20 13:29:33 (GMT) |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-09-20 18:48:06 (GMT) |
commit | 70b8ba9a0f4403729b9d68719503243982b883f4 (patch) | |
tree | e83bbc9fa459666ab501228399005e562ce52804 /Source/cmServerProtocol.cxx | |
parent | 6b8812c27e6df1d10fa4bfc30cb3eadd08d7966b (diff) | |
download | CMake-70b8ba9a0f4403729b9d68719503243982b883f4.zip CMake-70b8ba9a0f4403729b9d68719503243982b883f4.tar.gz CMake-70b8ba9a0f4403729b9d68719503243982b883f4.tar.bz2 |
cmake-server: Use consistent constant naming style
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r-- | Source/cmServerProtocol.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx index d53ac28..ce6be83 100644 --- a/Source/cmServerProtocol.cxx +++ b/Source/cmServerProtocol.cxx @@ -22,17 +22,14 @@ #include "cm_jsoncpp_value.h" #endif -namespace { // Vocabulary: -const std::string kBUILD_DIRECTORY_KEY = "buildDirectory"; -const std::string kCOOKIE_KEY = "cookie"; -const std::string kEXTRA_GENERATOR_KEY = "extraGenerator"; -const std::string kGENERATOR_KEY = "generator"; -const std::string kSOURCE_DIRECTORY_KEY = "sourceDirectory"; -const std::string kTYPE_KEY = "type"; - -} // namespace +static const std::string kBUILD_DIRECTORY_KEY = "buildDirectory"; +static const std::string kCOOKIE_KEY = "cookie"; +static const std::string kEXTRA_GENERATOR_KEY = "extraGenerator"; +static const std::string kGENERATOR_KEY = "generator"; +static const std::string kSOURCE_DIRECTORY_KEY = "sourceDirectory"; +static const std::string kTYPE_KEY = "type"; cmServerRequest::cmServerRequest(cmServer* server, const std::string& t, const std::string& c, const Json::Value& d) |