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
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue