clang-tidy: Enforce modernize-use-nullptr

This commit is contained in:
Thaddeus Crews
2024-03-12 09:40:40 -05:00
parent b18942d429
commit 3b3e2374c9
24 changed files with 98 additions and 100 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ static Ref<Image> load_from_file_access(Ref<FileAccess> f, Error *r_error) {
ktx_stream.destruct = ktx_destruct;
ktx_stream.type = eStreamTypeCustom;
ktx_stream.data.custom_ptr.address = &f;
ktx_stream.data.custom_ptr.allocatorAddress = NULL;
ktx_stream.data.custom_ptr.allocatorAddress = nullptr;
ktx_stream.data.custom_ptr.size = 0;
ktx_stream.readpos = 0;
ktx_stream.closeOnDestruct = false;