diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-12-15 12:38:51 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-12-15 12:38:51 +0100 |
| commit | 0700ae054385610eef21ba673413811b1d9e4b64 (patch) | |
| tree | 46611ba3d3c84576e053c7ff3da7fd9c72b128d0 /node | |
| parent | b42cb376c32ef4182d3e7f405f50dde2641e85b0 (diff) | |
| download | cmix-0700ae054385610eef21ba673413811b1d9e4b64.tar.gz cmix-0700ae054385610eef21ba673413811b1d9e4b64.tar.bz2 cmix-0700ae054385610eef21ba673413811b1d9e4b64.zip | |
Debugged CMake files which caused compiler flags to be truncated
Diffstat (limited to 'node')
| -rw-r--r-- | node/CMakeLists.txt | 11 | ||||
| -rw-r--r-- | node/node.hpp | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/node/CMakeLists.txt b/node/CMakeLists.txt index 87d3385..c20b35c 100644 --- a/node/CMakeLists.txt +++ b/node/CMakeLists.txt @@ -5,17 +5,6 @@ add_executable(node node.hpp node_node.cpp node_client.cpp node.cpp ) -if(WIN32) - target_compile_options(node - PRIVATE "-std=gnu++11" - ) -else(WIN32) - target_compile_options(node - PRIVATE "-std=c++11" - ) -endif(WIN32) - - target_link_libraries(node PRIVATE Boost::boost PRIVATE Boost::program_options diff --git a/node/node.hpp b/node/node.hpp index d9e16d4..de4e25d 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -92,7 +92,9 @@ class Node typedef std::map<std::string, SSLSenderReceiver> ClientConnections; ClientConnections clients; +public: typedef std::map<std::string, CMixClientData> ClientData; +private: ClientData data; typedef std::map<std::string, std::queue<std::string>> ClientMessages; ClientMessages messages; |
