mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 03:23:48 +00:00
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:
@@ -8,15 +8,15 @@
|
||||
#define _INSTANCESAVEMGR_H
|
||||
|
||||
#include "Define.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "DBCEnums.h"
|
||||
#include "ObjectDefines.h"
|
||||
#include <ace/Singleton.h>
|
||||
#include <ace/Null_Mutex.h>
|
||||
#include <ace/Thread_Mutex.h>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include "UnorderedMap.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "DBCEnums.h"
|
||||
#include "ObjectDefines.h"
|
||||
#include <unordered_map>
|
||||
|
||||
struct InstanceTemplate;
|
||||
struct MapEntry;
|
||||
@@ -33,14 +33,14 @@ struct InstancePlayerBind
|
||||
InstancePlayerBind() : save(NULL), perm(false), extended(false) {}
|
||||
};
|
||||
|
||||
typedef UNORDERED_MAP< uint32 /*mapId*/, InstancePlayerBind > BoundInstancesMap;
|
||||
typedef std::unordered_map< uint32 /*mapId*/, InstancePlayerBind > BoundInstancesMap;
|
||||
|
||||
struct BoundInstancesMapWrapper
|
||||
{
|
||||
BoundInstancesMap m[MAX_DIFFICULTY];
|
||||
};
|
||||
|
||||
typedef UNORDERED_MAP< uint32 /*guidLow*/, BoundInstancesMapWrapper* > PlayerBindStorage;
|
||||
typedef std::unordered_map< uint32 /*guidLow*/, BoundInstancesMapWrapper* > PlayerBindStorage;
|
||||
|
||||
class InstanceSave
|
||||
{
|
||||
@@ -94,7 +94,7 @@ class InstanceSave
|
||||
ACE_Thread_Mutex _lock;
|
||||
};
|
||||
|
||||
typedef UNORDERED_MAP<uint32 /*PAIR32(map, difficulty)*/, time_t /*resetTime*/> ResetTimeByMapDifficultyMap;
|
||||
typedef std::unordered_map<uint32 /*PAIR32(map, difficulty)*/, time_t /*resetTime*/> ResetTimeByMapDifficultyMap;
|
||||
|
||||
class InstanceSaveManager
|
||||
{
|
||||
@@ -106,7 +106,7 @@ class InstanceSaveManager
|
||||
~InstanceSaveManager();
|
||||
|
||||
public:
|
||||
typedef UNORDERED_MAP<uint32 /*InstanceId*/, InstanceSave*> InstanceSaveHashMap;
|
||||
typedef std::unordered_map<uint32 /*InstanceId*/, InstanceSave*> InstanceSaveHashMap;
|
||||
|
||||
struct InstResetEvent
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user