Replace SAFE_DELETE / SAFE_DELETE_ARRAY macros
SAFE_DELETE -> RageUtil::SafeDelete SAFE_DELETE_ARRAY -> RageUtil::SafeDeleteArray Update JsonUtil.h to include RageUtil.h - MSVC doesn't need it included for some reason, but GCC and XCode does.
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ LuaManager::LuaManager()
|
||||
LuaManager::~LuaManager()
|
||||
{
|
||||
lua_close( m_pLuaMain );
|
||||
SAFE_DELETE( pImpl );
|
||||
RageUtil::SafeDelete( pImpl );
|
||||
}
|
||||
|
||||
Lua *LuaManager::Get()
|
||||
|
||||
Reference in New Issue
Block a user