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
@@ -71,7 +71,7 @@ void OptionRow::Clear()
|
||||
for (RString const &m : m_pHand->m_vsReloadRowMessages)
|
||||
MESSAGEMAN->Unsubscribe( this, m );
|
||||
}
|
||||
SAFE_DELETE( m_pHand );
|
||||
RageUtil::SafeDelete( m_pHand );
|
||||
|
||||
m_bFirstItemGoesDown = false;
|
||||
ZERO( m_bRowHasFocus );
|
||||
|
||||
Reference in New Issue
Block a user