Some code changed with Clang-Tidy
This commit is contained in:
1 parent
5c66771e3e
commit
4e5310cc60
175 files changed
+467
-674
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user