aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectAccessor.h
diff options
context:
space:
mode:
authorKingPin <none@none>2008-11-10 06:53:00 -0600
committerKingPin <none@none>2008-11-10 06:53:00 -0600
commit09280b0091474b58d43daf42c0f3d99f86e6ec25 (patch)
treea6b9b17869b7e035811baa36bc1a0e2b618af216 /src/game/ObjectAccessor.h
parentf2250030cd7ea58eb9de63a96c34656ac1916369 (diff)
[svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes
--HG-- branch : trunk rename : src/framework/Utilities/HashMap.h => src/framework/Utilities/UnorderedMap.h
Diffstat (limited to 'src/game/ObjectAccessor.h')
-rw-r--r--src/game/ObjectAccessor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/ObjectAccessor.h b/src/game/ObjectAccessor.h
index d7dde01f640..88d459ffa08 100644
--- a/src/game/ObjectAccessor.h
+++ b/src/game/ObjectAccessor.h
@@ -24,7 +24,7 @@
#include "Platform/Define.h"
#include "Policies/Singleton.h"
#include "zthread/FastMutex.h"
-#include "Utilities/HashMap.h"
+#include "Utilities/UnorderedMap.h"
#include "Policies/ThreadingModel.h"
#include "ByteBuffer.h"
@@ -49,7 +49,7 @@ class HashMapHolder
{
public:
- typedef HM_NAMESPACE::hash_map< uint64, T* > MapType;
+ typedef UNORDERED_MAP< uint64, T* > MapType;
typedef ZThread::FastMutex LockType;
typedef Trinity::GeneralLock<LockType > Guard;
@@ -91,8 +91,8 @@ class TRINITY_DLL_DECL ObjectAccessor : public Trinity::Singleton<ObjectAccessor
ObjectAccessor& operator=(const ObjectAccessor &);
public:
- typedef HM_NAMESPACE::hash_map<uint64, Corpse* > Player2CorpsesMapType;
- typedef HM_NAMESPACE::hash_map<Player*, UpdateData>::value_type UpdateDataValueType;
+ typedef UNORDERED_MAP<uint64, Corpse* > Player2CorpsesMapType;
+ typedef UNORDERED_MAP<Player*, UpdateData>::value_type UpdateDataValueType;
template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/)
{