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:
@@ -59,12 +59,12 @@ LocalizedString::~LocalizedString()
|
||||
{
|
||||
m_Subscribers.Unsubscribe( this );
|
||||
|
||||
SAFE_DELETE( m_pImpl );
|
||||
RageUtil::SafeDelete( m_pImpl );
|
||||
}
|
||||
|
||||
void LocalizedString::CreateImpl()
|
||||
{
|
||||
SAFE_DELETE( m_pImpl );
|
||||
RageUtil::SafeDelete( m_pImpl );
|
||||
m_pImpl = g_pMakeLocalizedStringImpl();
|
||||
m_pImpl->Load( m_sGroup, m_sName );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user