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:
@@ -126,7 +126,7 @@ LightsManager::~LightsManager()
|
||||
{
|
||||
for (LightsDriver *iter : m_vpDrivers)
|
||||
{
|
||||
SAFE_DELETE( iter );
|
||||
RageUtil::SafeDelete( iter );
|
||||
}
|
||||
m_vpDrivers.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user