mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix clang warnings Wundefined-var-template
This commit is contained in:
@@ -401,4 +401,7 @@ ElunaObject::ElunaObject(T * obj, bool manageMemory) : _isvalid(false), _invalid
|
||||
SetValid(true);
|
||||
}
|
||||
|
||||
template<typename T> const char* ElunaTemplate<T>::tname = NULL;
|
||||
template<typename T> bool ElunaTemplate<T>::manageMemory = false;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1263,9 +1263,6 @@ ElunaRegister<BattleGround> BattleGroundMethods[] =
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
template<typename T> const char* ElunaTemplate<T>::tname = NULL;
|
||||
template<typename T> bool ElunaTemplate<T>::manageMemory = false;
|
||||
|
||||
#if (!defined(TBC) && !defined(CLASSIC))
|
||||
// fix compile error about accessing vehicle destructor
|
||||
template<> int ElunaTemplate<Vehicle>::CollectGarbage(lua_State* L)
|
||||
|
||||
Reference in New Issue
Block a user