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:
1 parent
f28116b7da
commit
d802d39281
292 files changed
+1526
-1526
No files matched your search
@@ -47,7 +47,7 @@ void Shutdown()
|
||||
for (auto& channel : g_Channels)
|
||||
{
|
||||
delete channel;
|
||||
channel = NULL;
|
||||
channel = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex)
|
||||
if (device)
|
||||
return device;
|
||||
}
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Unused (?!)
|
||||
|
||||
Reference in new issue
Block a user