diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-25 16:40:58 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-04-26 14:59:28 +0200 |
commit | 5d124c4a8f86176e8adafab3d3703f28e597cb12 (patch) | |
tree | 2e0fdd8fc6f7318ed39b72f325c21dbe967f5445 /core/string/translation.cpp | |
parent | 15a85fe9713668f8ba6143352fd27d419a96ba83 (diff) | |
download | redot-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 'core/string/translation.cpp')
-rw-r--r-- | core/string/translation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/translation.cpp b/core/string/translation.cpp index ade5f7b4d8..153f0190fd 100644 --- a/core/string/translation.cpp +++ b/core/string/translation.cpp @@ -835,7 +835,7 @@ Vector<String> Translation::_get_message_list() const { void Translation::_set_messages(const Dictionary &p_messages) { List<Variant> keys; p_messages.get_key_list(&keys); - for (auto E = keys.front(); E; E = E->next()) { + for (List<Variant>::Element *E = keys.front(); E; E = E->next()) { translation_map[E->get()] = p_messages[E->get()]; } } |