You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
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).
This commit is contained in:
@@ -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()];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user