summaryrefslogtreecommitdiffstats
path: root/editor/editor_translation_parser.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-04-25 16:40:58 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-04-26 14:59:28 +0200
commit5d124c4a8f86176e8adafab3d3703f28e597cb12 (patch)
tree2e0fdd8fc6f7318ed39b72f325c21dbe967f5445 /editor/editor_translation_parser.cpp
parent15a85fe9713668f8ba6143352fd27d419a96ba83 (diff)
downloadredot-engine-5d124c4a8f86176e8adafab3d3703f28e597cb12.tar.gz
Remove uses of `auto` for better readability and online code reviews
The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
Diffstat (limited to 'editor/editor_translation_parser.cpp')
-rw-r--r--editor/editor_translation_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_translation_parser.cpp b/editor/editor_translation_parser.cpp
index fd36372dde..49d5cf1fd3 100644
--- a/editor/editor_translation_parser.cpp
+++ b/editor/editor_translation_parser.cpp
@@ -105,7 +105,7 @@ void EditorTranslationParser::get_recognized_extensions(List<String> *r_extensio
for (int i = 0; i < temp.size(); i++) {
extensions.insert(temp[i]);
}
- for (auto E = extensions.front(); E; E = E->next()) {
+ for (Set<String>::Element *E = extensions.front(); E; E = E->next()) {
r_extensions->push_back(E->get());
}
}