mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix linux warnings Implement #72
This commit is contained in:
@@ -1186,7 +1186,7 @@ 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>::gcT(lua_State* L)
|
||||
template<> int ElunaTemplate<Vehicle>::gcT(lua_State* /*L*/)
|
||||
{
|
||||
// If assert fails, should code mem management here or flag Vehicles not mem managed
|
||||
ASSERT(!manageMemory);
|
||||
|
||||
Reference in New Issue
Block a user