diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-04 14:25:33 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-04 14:25:33 +0100 |
commit | 6c390b620d231d5f2febf05bddd758582513fe46 (patch) | |
tree | e117eb6e32b69e0efb3938ec29819e6ccd9ddeae /editor/project_settings_editor.cpp | |
parent | b66d16fcc9094735cec5259a9714b131fa410594 (diff) | |
parent | a3cb1b096fcecad03562205bd285ebefc816c64a (diff) | |
download | redot-engine-6c390b620d231d5f2febf05bddd758582513fe46.tar.gz |
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
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 d587737ed4..3f93915fa3 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -173,7 +173,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()); |