aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qlicenseservice/licenser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qlicenseservice/licenser.h')
-rw-r--r--src/libs/qlicenseservice/licenser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/qlicenseservice/licenser.h b/src/libs/qlicenseservice/licenser.h
index 0c916a2..0c77c9b 100644
--- a/src/libs/qlicenseservice/licenser.h
+++ b/src/libs/qlicenseservice/licenser.h
@@ -9,7 +9,7 @@
#include <fstream>
#include <sstream>
#include <string>
-#include <vector>
+#include <unordered_map>
#include <ctime>
#include <cassert>
#if _WIN32
@@ -40,7 +40,7 @@ private:
uint64_t m_mocInterval;
std::string m_infoString;
ClientHandler *m_currentClient;
- std::vector<ClientHandler*> m_floatingClients;
+ std::unordered_map<uint16_t, ClientHandler*> m_floatingClients;
bool parseInputAndCreateCLient(uint16_t socketId, const std::string &incoming);
bool addClientToParent();