Core: Step 2 - Fixed warnings with clang 3.9+

issue #121
This commit is contained in:
Yehonal
2017-09-16 15:02:33 +02:00
parent 3dde305068
commit 247490dc84
2 changed files with 5 additions and 4 deletions

View File

@@ -512,10 +512,6 @@ void ObjectAccessor::UnloadAll()
std::map<std::string, Player*> ObjectAccessor::playerNameToPlayerPointer;
/// Define the static members of HashMapHolder
template <class T> UNORDERED_MAP< uint64, T* > HashMapHolder<T>::m_objectMap;
template <class T> typename HashMapHolder<T>::LockType HashMapHolder<T>::i_lock;
/// Global definitions for the hashmap storage

View File

@@ -72,6 +72,11 @@ class HashMapHolder
static MapType m_objectMap;
};
/// Define the static members of HashMapHolder
template <class T> UNORDERED_MAP< uint64, T* > HashMapHolder<T>::m_objectMap;
template <class T> typename HashMapHolder<T>::LockType HashMapHolder<T>::i_lock;
// pussywizard:
class DelayedCorpseAction
{