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:
@@ -97,9 +97,9 @@ ProfileManager::~ProfileManager()
|
||||
// Unregister with Lua.
|
||||
LUA->UnsetGlobal( "PROFILEMAN" );
|
||||
|
||||
SAFE_DELETE( m_pMachineProfile );
|
||||
RageUtil::SafeDelete( m_pMachineProfile );
|
||||
FOREACH_PlayerNumber(pn)
|
||||
SAFE_DELETE( m_pMemoryCardProfile[pn] );
|
||||
RageUtil::SafeDelete( m_pMemoryCardProfile[pn] );
|
||||
}
|
||||
|
||||
void ProfileManager::Init()
|
||||
|
||||
Reference in New Issue
Block a user