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/localization_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/localization_editor.cpp')
-rw-r--r-- | editor/localization_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/localization_editor.cpp b/editor/localization_editor.cpp index fb34740318..71906b58e7 100644 --- a/editor/localization_editor.cpp +++ b/editor/localization_editor.cpp @@ -545,7 +545,7 @@ void LocalizationEditor::update_translations() { PackedStringArray selected = remaps[keys[i]]; for (int j = 0; j < selected.size(); j++) { - String s2 = selected[j]; + const String &s2 = selected[j]; int qp = s2.rfind(":"); String path = s2.substr(0, qp); String locale = s2.substr(qp + 1, s2.length()); |