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 committed 2014-03-09 21:14:26 +01:00
1 parent f28116b7da
commit d802d39281
292 files changed
+1526 -1526

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@
namespace DiscIO
{
CBannerLoaderGC::CBannerLoaderGC(DiscIO::IFileSystem& _rFileSystem, DiscIO::IVolume* volume)
: m_pBannerFile(NULL)
: m_pBannerFile(nullptr)
, m_IsValid(false)
, m_country(volume->GetCountry())
{
@@ -45,7 +45,7 @@ CBannerLoaderGC::~CBannerLoaderGC()
if (m_pBannerFile)
{
delete [] m_pBannerFile;
m_pBannerFile = NULL;
m_pBannerFile = nullptr;
}
}