clang-tidy: Enforce modernize-use-nullptr
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user