You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
Add const references detected by clang-tidy
This commit is contained in:
@@ -728,7 +728,7 @@ bool SceneTreeEditor::_item_matches_all_terms(TreeItem *p_item, PackedStringArra
|
||||
}
|
||||
|
||||
for (int i = 0; i < p_terms.size(); i++) {
|
||||
String term = p_terms[i];
|
||||
const String &term = p_terms[i];
|
||||
|
||||
// Recognize special filter.
|
||||
if (term.contains(":") && !term.get_slicec(':', 0).is_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user