mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add const references detected by clang-tidy
This commit is contained in:
parent
2d0ee20ff3
commit
a3cb1b096f
57 changed files with 120 additions and 120 deletions
|
@ -625,7 +625,7 @@ GDScriptParser::ClassNode *GDScriptParser::find_class(const String &p_qualified_
|
|||
|
||||
// Starts at index 1 because index 0 was handled above.
|
||||
for (int i = 1; result != nullptr && i < class_names.size(); i++) {
|
||||
String current_name = class_names[i];
|
||||
const String ¤t_name = class_names[i];
|
||||
GDScriptParser::ClassNode *next = nullptr;
|
||||
if (result->has_member(current_name)) {
|
||||
GDScriptParser::ClassNode::Member member = result->get_member(current_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue