You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Use range iterators for Map
This commit is contained in:
@@ -53,9 +53,9 @@ protected:
|
||||
String csv_header = "file_path, error message, extra data\n";
|
||||
massive_log_file += csv_header;
|
||||
|
||||
for (Map<String, LocalVector<String>>::Element *element = validation_entries.front(); element; element = element->next()) {
|
||||
for (unsigned int x = 0; x < element->value().size(); x++) {
|
||||
const String &line_entry = element->key() + ", " + element->value()[x].c_escape() + "\n";
|
||||
for (const KeyValue<String, LocalVector<String>> &element : validation_entries) {
|
||||
for (unsigned int x = 0; x < element.value.size(); x++) {
|
||||
const String &line_entry = element.key + ", " + element.value[x].c_escape() + "\n";
|
||||
massive_log_file += line_entry;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user