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:
@@ -161,11 +161,11 @@ GraphDisplay::~GraphDisplay()
|
||||
{
|
||||
for (Actor *p : m_vpSongBoundaries)
|
||||
{
|
||||
SAFE_DELETE( p );
|
||||
RageUtil::SafeDelete( p );
|
||||
}
|
||||
m_vpSongBoundaries.clear();
|
||||
SAFE_DELETE( m_pGraphLine );
|
||||
SAFE_DELETE( m_pGraphBody );
|
||||
RageUtil::SafeDelete( m_pGraphLine );
|
||||
RageUtil::SafeDelete( m_pGraphBody );
|
||||
}
|
||||
|
||||
void GraphDisplay::Set( const StageStats &ss, const PlayerStageStats &pss )
|
||||
|
||||
Reference in New Issue
Block a user