mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02: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:
@ -22,12 +22,12 @@ IFileSystem* CreateFileSystem(const IVolume* _rVolume)
|
||||
IFileSystem* pFileSystem = new CFileSystemGCWii(_rVolume);
|
||||
|
||||
if (!pFileSystem)
|
||||
return 0;
|
||||
return nullptr;
|
||||
|
||||
if (!pFileSystem->IsValid())
|
||||
{
|
||||
delete pFileSystem;
|
||||
pFileSystem = NULL;
|
||||
pFileSystem = nullptr;
|
||||
}
|
||||
|
||||
return pFileSystem;
|
||||
|
Reference in New Issue
Block a user