mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 04:58:41 -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:
@ -45,7 +45,7 @@ namespace JitInterface
|
||||
bFakeVMEM = SConfig::GetInstance().m_LocalCoreStartupParameter.bTLBHack == true;
|
||||
bMMU = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU;
|
||||
|
||||
CPUCoreBase *ptr = NULL;
|
||||
CPUCoreBase *ptr = nullptr;
|
||||
switch(core)
|
||||
{
|
||||
#if _M_X86
|
||||
@ -75,8 +75,8 @@ namespace JitInterface
|
||||
default:
|
||||
{
|
||||
PanicAlert("Unrecognizable cpu_core: %d", core);
|
||||
jit = NULL;
|
||||
return NULL;
|
||||
jit = nullptr;
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
jit = static_cast<JitBase*>(ptr);
|
||||
@ -239,7 +239,7 @@ namespace JitInterface
|
||||
{
|
||||
jit->Shutdown();
|
||||
delete jit;
|
||||
jit = NULL;
|
||||
jit = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user