mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Use range iterators for Map
This commit is contained in:
parent
e4dfa69bcf
commit
c63b18507d
154 changed files with 1897 additions and 1897 deletions
|
@ -425,8 +425,8 @@ void ScriptCreateDialog::_lang_changed(int l) {
|
|||
templates[i].id = new_id;
|
||||
}
|
||||
// Disable overridden
|
||||
for (Map<String, Vector<int>>::Element *E = template_overrides.front(); E; E = E->next()) {
|
||||
const Vector<int> &overrides = E->get();
|
||||
for (const KeyValue<String, Vector<int>> &E : template_overrides) {
|
||||
const Vector<int> &overrides = E.value;
|
||||
|
||||
if (overrides.size() == 1) {
|
||||
continue; // doesn't override anything
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue