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:
@@ -543,7 +543,7 @@ bool GunzipString( const RString &sIn, RString &sOut, RString &sError )
|
||||
/* Check the CRC. */
|
||||
unsigned iRet;
|
||||
ASSERT( pFile->GetCRC32( &iRet ) );
|
||||
SAFE_DELETE( pFile );
|
||||
RageUtil::SafeDelete( pFile );
|
||||
|
||||
if( iRet != iCRC32 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user