mirror of
https://github.com/godotengine/godot.git
synced 2025-10-21 08:53: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:
parent
2b429b24b5
commit
a828398655
633 changed files with 4454 additions and 4410 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue