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

@@ -16,9 +16,9 @@ u_map_fcc MverMagic = { {'R', 'E', 'V', 'M'} };
FileLoader::FileLoader()
{
data = 0;
data = nullptr;
data_size = 0;
version = 0;
version = nullptr;
}
FileLoader::~FileLoader()
@@ -65,7 +65,7 @@ bool FileLoader::prepareLoadedData()
void FileLoader::free()
{
delete[] data;
data = 0;
data = nullptr;
data_size = 0;
version = 0;
version = nullptr;
}