summaryrefslogtreecommitdiff
path: root/fluid/nodes/Tree.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 03:20:53 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 03:20:53 +0500
commitddba971ebb304512ba9e0a01b77ec71b59b977b6 (patch)
tree7e681b80b442ec86f19a3e19aa42770198946d35 /fluid/nodes/Tree.cxx
parentc19f34db2f4a64326d03cee7edae095051660f65 (diff)
wip
Diffstat (limited to 'fluid/nodes/Tree.cxx')
-rw-r--r--fluid/nodes/Tree.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/nodes/Tree.cxx b/fluid/nodes/Tree.cxx
index a163c4181..d437b5bd3 100644
--- a/fluid/nodes/Tree.cxx
+++ b/fluid/nodes/Tree.cxx
@@ -92,7 +92,7 @@ Tree::Tree(Project &proj)
\return the node with this uid, or 0 if not found
*/
Node *Tree::find_by_uid(unsigned short uid) {
- for (auto tp: all_nodes()) {
+ for (Node *tp: all_nodes()) {
if (tp->get_uid() == uid) return tp;
}
return 0;
@@ -106,7 +106,7 @@ Node *Tree::find_by_uid(unsigned short uid) {
\return the node we found or 0
*/
Node *Tree::find_in_text(int text_type, int crsr) {
- for (auto node: all_nodes()) {
+ for (Node *node: all_nodes()) {
switch (text_type) {
case 0:
if (crsr >= node->code1_start && crsr < node->code1_end) return node;