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:
@@ -476,8 +476,8 @@ GameSoundManager::~GameSoundManager()
|
||||
MusicThread.Wait();
|
||||
LOG->Trace("Music start thread shut down.");
|
||||
|
||||
SAFE_DELETE( g_Playing );
|
||||
SAFE_DELETE( g_Mutex );
|
||||
RageUtil::SafeDelete( g_Playing );
|
||||
RageUtil::SafeDelete( g_Mutex );
|
||||
}
|
||||
|
||||
float GameSoundManager::GetFrameTimingAdjustment( float fDeltaTime )
|
||||
|
||||
Reference in New Issue
Block a user