mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 03:59:14 -06:00
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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user