From ddba971ebb304512ba9e0a01b77ec71b59b977b6 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Fri, 6 Feb 2026 03:20:53 +0500 Subject: wip --- fluid/nodes/Tree.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fluid/nodes/Tree.cxx') 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; -- cgit v1.2.3