Fix linux warnings Implement #72

This commit is contained in:
Rochet2
2014-06-25 23:29:07 +03:00
committed by Foereaper
parent aa78932fd1
commit 580b3f7a25
17 changed files with 277 additions and 62 deletions

View File

@@ -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);