mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Some code changed with Clang-Tidy
This commit is contained in:
@@ -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