mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 09:31:34 +00:00
Add const references detected by clang-tidy
This commit is contained in:
parent
2d0ee20ff3
commit
a3cb1b096f
57 changed files with 120 additions and 120 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue