mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
f28116b7da
commit
d802d39281
292 changed files with 1526 additions and 1526 deletions
|
@ -24,7 +24,7 @@ static inline u64 align(u64 value, u64 bounds)
|
|||
}
|
||||
|
||||
WbfsFileReader::WbfsFileReader(const char* filename)
|
||||
: m_total_files(0), m_size(0), m_wlba_table(0), m_good(true)
|
||||
: m_total_files(0), m_size(0), m_wlba_table(nullptr), m_good(true)
|
||||
{
|
||||
if(!filename || (strlen(filename) < 4) || !OpenFiles(filename) || !ReadHeader())
|
||||
{
|
||||
|
@ -182,7 +182,7 @@ WbfsFileReader* WbfsFileReader::Create(const char* filename)
|
|||
else
|
||||
{
|
||||
delete reader;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue