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

@ -18,20 +18,20 @@
namespace
{
static Common::Event m_StepEvent;
static Common::Event *m_SyncEvent = NULL;
static Common::Event *m_SyncEvent = nullptr;
static std::mutex m_csCpuOccupied;
}
void CCPU::Init(int cpu_core)
{
PowerPC::Init(cpu_core);
m_SyncEvent = NULL;
m_SyncEvent = nullptr;
}
void CCPU::Shutdown()
{
PowerPC::Shutdown();
m_SyncEvent = NULL;
m_SyncEvent = nullptr;
}
void CCPU::Run()
@ -68,7 +68,7 @@ reswitch:
if (m_SyncEvent)
{
m_SyncEvent->Set();
m_SyncEvent = NULL;
m_SyncEvent = nullptr;
}
Host_UpdateDisasmDialog();
break;