Some code changed with Clang-Tidy

This commit is contained in:
qarmin committed 2019-06-26 15:08:25 +02:00
1 parent 5c66771e3e
commit 4e5310cc60
175 files changed
+467 -674

No files matched your search

+1 -1
View File
@@ -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);