From 1b8526df08ca9da5595da0594446cff62f18ba7f Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 1 Dec 2025 14:28:35 -0500 Subject: [PATCH] xo-ordinaltree: revert refactor attempt --- xo-ordinaltree/include/xo/ordinaltree/rbtree/RbTreeUtil.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xo-ordinaltree/include/xo/ordinaltree/rbtree/RbTreeUtil.hpp b/xo-ordinaltree/include/xo/ordinaltree/rbtree/RbTreeUtil.hpp index a5c48762..1d96031d 100644 --- a/xo-ordinaltree/include/xo/ordinaltree/rbtree/RbTreeUtil.hpp +++ b/xo-ordinaltree/include/xo/ordinaltree/rbtree/RbTreeUtil.hpp @@ -779,6 +779,7 @@ namespace xo { * - f=false for existing node (k already in tree before this call) * - n=node containing key k */ + template static std::pair insert_aux(NodeAllocator & alloc, value_type const & kv_pair, @@ -884,6 +885,7 @@ namespace xo { * - N has no child nodes * - N->parent() != nullptr */ + template static void remove_black_leaf(NodeAllocator & alloc, RbNode *N, Reduce const & reduce_fn, @@ -1340,6 +1342,7 @@ namespace xo { * * return true if a node was removed; false otherwise. */ + template static bool erase_aux(NodeAllocator & alloc, Key const & k, Reduce const & reduce_fn, @@ -1553,6 +1556,7 @@ namespace xo { return true; } /*erase_aux*/ + template static void erase_1child_aux(NodeAllocator & alloc, RbNode * N, Reduce const & reduce_fn,