Show
Ignore:
Timestamp:
11/19/08 13:46:16 (17 years ago)
Author:
yumileroy
Message:

[svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes

Original author: KingPin?
Date: 2008-11-10 06:53:00-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/ObjectAccessor.h

    r174 r206  
    2525#include "Policies/Singleton.h" 
    2626#include "zthread/FastMutex.h" 
    27 #include "Utilities/HashMap.h" 
     27#include "Utilities/UnorderedMap.h" 
    2828#include "Policies/ThreadingModel.h" 
    2929 
     
    5050    public: 
    5151 
    52         typedef HM_NAMESPACE::hash_map< uint64, T* >   MapType; 
     52        typedef UNORDERED_MAP< uint64, T* >   MapType; 
    5353        typedef ZThread::FastMutex LockType; 
    5454        typedef Trinity::GeneralLock<LockType > Guard; 
     
    9292 
    9393    public: 
    94         typedef HM_NAMESPACE::hash_map<uint64, Corpse* >      Player2CorpsesMapType; 
    95         typedef HM_NAMESPACE::hash_map<Player*, UpdateData>::value_type UpdateDataValueType; 
     94        typedef UNORDERED_MAP<uint64, Corpse* >      Player2CorpsesMapType; 
     95        typedef UNORDERED_MAP<Player*, UpdateData>::value_type UpdateDataValueType; 
    9696 
    9797        template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/)