You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Style: Replaces uses of 0/NULL by nullptr (C++11)
Using clang-tidy's `modernize-use-nullptr`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
This commit is contained in:
@@ -107,5 +107,5 @@ void ResourceFormatSaverPluginScript::get_recognized_extensions(const RES &p_res
|
||||
}
|
||||
|
||||
bool ResourceFormatSaverPluginScript::recognize(const RES &p_resource) const {
|
||||
return Object::cast_to<PluginScript>(*p_resource) != NULL;
|
||||
return Object::cast_to<PluginScript>(*p_resource) != nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user