From 4e5310cc60dc17e5ef09e57115ca8236544679e4 Mon Sep 17 00:00:00 2001 From: qarmin Date: Wed, 26 Jun 2019 15:08:25 +0200 Subject: Some code changed with Clang-Tidy --- core/class_db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/class_db.cpp') diff --git a/core/class_db.cpp b/core/class_db.cpp index ec07ee98e2..c9527e3c8f 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -552,7 +552,7 @@ void ClassDB::_add_class2(const StringName &p_class, const StringName &p_inherit OBJTYPE_WLOCK; - StringName name = p_class; + const StringName &name = p_class; ERR_FAIL_COND(classes.has(name)); -- cgit v1.2.3