mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
parent
5c66771e3e
commit
4e5310cc60
175 changed files with 467 additions and 674 deletions
|
@ -69,7 +69,7 @@ Variant GDScriptNativeClass::_new() {
|
|||
Object *o = instance();
|
||||
if (!o) {
|
||||
ERR_EXPLAIN("Class type: '" + String(name) + "' is not instantiable.");
|
||||
ERR_FAIL_COND_V(!o, Variant());
|
||||
ERR_FAIL_V(Variant());
|
||||
}
|
||||
|
||||
Reference *ref = Object::cast_to<Reference>(o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue