We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86ea3aa commit 5a026c4Copy full SHA for 5a026c4
1 file changed
README.md
@@ -38,7 +38,7 @@ h.set_parent(child, root, position); // ...at a specific position
38
h.order_child_before(child_a, child_b); // reorder siblings
39
40
// traversal
41
-for (auto g = entttree::walk::dfs(h.traverse(root, SiblingOrder::Forward)); g; ++g) {
+for (auto g = h.traverse_dfs(root, SiblingOrder::Forward, DfsOrder::ShallowFirst); g; ++g) {
42
// visit nodes depth-first
43
}
44
0 commit comments