diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-12-15 12:43:51 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-12-15 12:43:51 +0100 |
| commit | c4ea52a9db2945d724013af428e8fe32ee9b683a (patch) | |
| tree | 0c75bbb517f0129e4fdc7d6d810feea48f7ce82c /node/node.hpp | |
| parent | 0700ae054385610eef21ba673413811b1d9e4b64 (diff) | |
| download | cmix-c4ea52a9db2945d724013af428e8fe32ee9b683a.tar.gz cmix-c4ea52a9db2945d724013af428e8fe32ee9b683a.tar.bz2 cmix-c4ea52a9db2945d724013af428e8fe32ee9b683a.zip | |
"Nicer" solution to the private typedef problem.
Gcc doesn't even error on the private typedef access. So instead of
entering and exiting the public scope in the class definition, Just
add a template which forces deduction of the underlying type.
Diffstat (limited to 'node/node.hpp')
| -rw-r--r-- | node/node.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/node/node.hpp b/node/node.hpp index de4e25d..d9e16d4 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -92,9 +92,7 @@ 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; |
