clang-modernize -use-nullptr

and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
Tillmann Karras
2014-03-09 21:14:26 +01:00
parent f28116b7da
commit d802d39281
292 changed files with 1526 additions and 1526 deletions

View File

@ -10,7 +10,7 @@
#include "Core/Debugger/Dump.h"
CDump::CDump(const char* _szFilename) :
m_pData(NULL)
m_pData(nullptr)
{
File::IOFile pStream(_szFilename, "rb");
if (pStream)
@ -25,10 +25,10 @@ CDump::CDump(const char* _szFilename) :
CDump::~CDump(void)
{
if (m_pData != NULL)
if (m_pData != nullptr)
{
delete[] m_pData;
m_pData = NULL;
m_pData = nullptr;
}
}