mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +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
|
|
@ -628,7 +628,7 @@ void ObjectAccessor::UpdateVisibilityForPlayer( Player* player )
|
|||
|
||||
/// Define the static member of HashMapHolder
|
||||
|
||||
template <class T> HM_NAMESPACE::hash_map< uint64, T* > HashMapHolder<T>::m_objectMap;
|
||||
template <class T> UNORDERED_MAP< uint64, T* > HashMapHolder<T>::m_objectMap;
|
||||
template <class T> ZThread::FastMutex HashMapHolder<T>::i_lock;
|
||||
|
||||
/// Global defintions for the hashmap storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue