From 89ce7f796227c215b839f8d54db0e4b9dda9ef2e Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 5 Dec 2025 19:54:00 -0500 Subject: [PATCH] xo-ordinaltree: start work on gc-aware Key,Value in rbtree --- include/xo/allocutil/IObject.hpp | 1 + include/xo/allocutil/ObjectVisitor.hpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/xo/allocutil/IObject.hpp b/include/xo/allocutil/IObject.hpp index 6cad929..932966d 100644 --- a/include/xo/allocutil/IObject.hpp +++ b/include/xo/allocutil/IObject.hpp @@ -7,6 +7,7 @@ #include #include +#include namespace xo { namespace gc { class IAlloc; } diff --git a/include/xo/allocutil/ObjectVisitor.hpp b/include/xo/allocutil/ObjectVisitor.hpp index df33687..420d44c 100644 --- a/include/xo/allocutil/ObjectVisitor.hpp +++ b/include/xo/allocutil/ObjectVisitor.hpp @@ -36,8 +36,9 @@ namespace xo { **/ template class ObjectVisitor { - void forward_children(T & target, - IAlloc * gc) { (void)target; (void)gc; } +// public: +// void forward_children(T & target, +// IAlloc * gc) { (void)target; (void)gc; } }; #define XO_TRIVIAL_OBJECT_VISITOR(TYPE) \