mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Use range iterators for RBSet in most cases
This commit is contained in:
parent
71c40ff4da
commit
900c676b02
84 changed files with 782 additions and 782 deletions
|
@ -693,8 +693,8 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo
|
|||
_find_changed_scripts_for_external_editor(base, base, scripts);
|
||||
}
|
||||
|
||||
for (RBSet<Ref<Script>>::Element *E = scripts.front(); E; E = E->next()) {
|
||||
Ref<Script> script = E->get();
|
||||
for (const Ref<Script> &E : scripts) {
|
||||
Ref<Script> script = E;
|
||||
|
||||
if (p_for_script.is_valid() && p_for_script != script) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue