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:
@@ -138,7 +138,7 @@ void CryptManager::GenerateGlobalKeys()
|
||||
|
||||
CryptManager::~CryptManager()
|
||||
{
|
||||
SAFE_DELETE( g_pPRNG );
|
||||
RageUtil::SafeDelete( g_pPRNG );
|
||||
// Unregister with Lua.
|
||||
LUA->UnsetGlobal( "CRYPTMAN" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user