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:
@@ -37,7 +37,7 @@ ScreenMapControllers::~ScreenMapControllers()
|
||||
{
|
||||
for(std::size_t i= 0; i < m_Line.size(); ++i)
|
||||
{
|
||||
SAFE_DELETE(m_Line[i]);
|
||||
RageUtil::SafeDelete(m_Line[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user