mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
Use (if available) TR1 unordered_map instead hash_map at Unix/Linux (in GCC 4.0.0 and later) and Windows (VC90 and later)
This commit is contained in:
parent
ac222e92b1
commit
5222f49820
25 changed files with 80 additions and 73 deletions
|
|
@ -32,8 +32,8 @@ class MANGOS_DLL_DECL MapManager : public MaNGOS::Singleton<MapManager, MaNGOS::
|
|||
{
|
||||
|
||||
friend class MaNGOS::OperatorNew<MapManager>;
|
||||
typedef HM_NAMESPACE::hash_map<uint32, Map*> MapMapType;
|
||||
typedef std::pair<HM_NAMESPACE::hash_map<uint32, Map*>::iterator, bool> MapMapPair;
|
||||
typedef UNORDERED_MAP<uint32, Map*> MapMapType;
|
||||
typedef std::pair<UNORDERED_MAP<uint32, Map*>::iterator, bool> MapMapPair;
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue