refactor(Core): apply clang-tidy modernize-use-nullptr (#3819)

This commit is contained in:
Francesco Borzì
2020-12-06 20:55:11 +01:00
committed by GitHub
parent 161302252e
commit cba126fa84
40 changed files with 127 additions and 127 deletions

View File

@@ -35,9 +35,9 @@ bool wdt_MAIN::prepareLoadedData()
WDT_file::WDT_file()
{
mphd = 0;
main = 0;
wmo = 0;
mphd = nullptr;
main = nullptr;
wmo = nullptr;
}
WDT_file::~WDT_file()
@@ -47,9 +47,9 @@ WDT_file::~WDT_file()
void WDT_file::free()
{
mphd = 0;
main = 0;
wmo = 0;
mphd = nullptr;
main = nullptr;
wmo = nullptr;
FileLoader::free();
}