Add const references detected by clang-tidy

This commit is contained in:
Wilson E. Alvarez
2023-11-18 17:40:56 -05:00
parent 2d0ee20ff3
commit a3cb1b096f
57 changed files with 120 additions and 120 deletions

View File

@@ -3018,7 +3018,7 @@ void EditorInspector::update_tree() {
Vector<String> components = path.split("/");
for (int i = 0; i < components.size(); i++) {
String component = components[i];
const String &component = components[i];
acc_path += (i > 0) ? "/" + component : component;
if (!vbox_per_path[root_vbox].has(acc_path)) {