mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +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
|
|
@ -83,8 +83,8 @@ void EditorPropertyRootMotion::_node_assign() {
|
|||
|
||||
HashMap<String, TreeItem *> parenthood;
|
||||
|
||||
for (RBSet<String>::Element *E = paths.front(); E; E = E->next()) {
|
||||
NodePath path = E->get();
|
||||
for (const String &E : paths) {
|
||||
NodePath path = E;
|
||||
TreeItem *ti = nullptr;
|
||||
String accum;
|
||||
for (int i = 0; i < path.get_name_count(); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue