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_manager.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_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index f74458e89b..1c8d55bd8e 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -3074,7 +3074,7 @@ ProjectManager::ProjectManager() { language_btn->set_text(current_lang); for (int i = 0; i < editor_languages.size(); i++) { - String lang = editor_languages[i]; + const String &lang = editor_languages[i]; String lang_name = TranslationServer::get_singleton()->get_locale_name(lang); language_btn->add_item(vformat("[%s] %s", lang, lang_name), i); language_btn->set_item_metadata(i, lang); |