diff options
author | Wilson E. Alvarez <wilson.e.alvarez@rubonnek.com> | 2023-11-18 17:40:56 -0500 |
---|---|---|
committer | Wilson E. Alvarez <wilson.e.alvarez@rubonnek.com> | 2023-12-16 13:36:44 -0500 |
commit | a3cb1b096fcecad03562205bd285ebefc816c64a (patch) | |
tree | 3966ab0682c6269c60de7b438d51b30ae164ffde /editor/project_settings_editor.cpp | |
parent | 2d0ee20ff30461b6b10f6fdfba87511a0ebc6642 (diff) | |
download | redot-engine-a3cb1b096fcecad03562205bd285ebefc816c64a.tar.gz |
Add const references detected by clang-tidy
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r-- | editor/project_settings_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 09de9cda49..0bb724efe4 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -171,7 +171,7 @@ void ProjectSettingsEditor::_feature_selected(int p_index) { void ProjectSettingsEditor::_update_property_box() { const String setting = _get_setting_name(); const Vector<String> t = setting.split(".", true, 1); - const String name = t[0]; + const String &name = t[0]; const String feature = (t.size() == 2) ? t[1] : ""; bool feature_invalid = (t.size() == 2) && (t[1].is_empty()); |