Refactor(Core/Misc): Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros (#1627)

* Delete macros UNORDERED_MAP
* Delete macros UNORDERED_SET
This commit is contained in:
Kargatum
2019-03-26 00:01:56 +07:00
committed by GitHub
parent d1abe39414
commit 824a80005c
57 changed files with 175 additions and 408 deletions
+2 -2
View File
@@ -510,7 +510,7 @@ struct CliCommandHolder
~CliCommandHolder() { delete[] m_command; }
};
typedef UNORDERED_MAP<uint32, WorldSession*> SessionMap;
typedef std::unordered_map<uint32, WorldSession*> SessionMap;
#define WORLD_SLEEP_CONST 10
@@ -820,7 +820,7 @@ class World
SessionMap m_sessions;
SessionMap m_offlineSessions;
typedef UNORDERED_MAP<uint32, time_t> DisconnectMap;
typedef std::unordered_map<uint32, time_t> DisconnectMap;
DisconnectMap m_disconnects;
uint32 m_maxActiveSessionCount;
uint32 m_maxQueuedSessionCount;