From 8a0a3acceee804b91afe31022cf0310c01162f73 Mon Sep 17 00:00:00 2001 From: Nathan Franke Date: Thu, 27 Jan 2022 10:34:33 -0600 Subject: simplify formatting scripts, add a clang-tidy script, and run clang-tidy --- core/object/object.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/object') diff --git a/core/object/object.h b/core/object/object.h index 63130a1aef..1a0a81581d 100644 --- a/core/object/object.h +++ b/core/object/object.h @@ -700,8 +700,9 @@ public: static String get_category_static() { return String(); } virtual String get_class() const { - if (_extension) + if (_extension) { return _extension->class_name.operator String(); + } return "Object"; } virtual String get_save_class() const { return get_class(); } //class stored when saving -- cgit v1.2.3