mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Some code changed with Clang-Tidy
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user