From 8d500231f2a9ffa1437eb22233ad1a4a2cf4e458 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 6 Jan 2026 00:01:38 -0500 Subject: [PATCH] xo-arena xo-facet xo-alloc2: build restored --- include/xo/object2/DList.hpp | 4 ++++ src/object2/IPrintable_DList.cpp | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/include/xo/object2/DList.hpp b/include/xo/object2/DList.hpp index f629693..6f803a8 100644 --- a/include/xo/object2/DList.hpp +++ b/include/xo/object2/DList.hpp @@ -8,6 +8,7 @@ #include //#include "xo/alloc2/gcobject/RGCObject.hpp" #include +#include namespace xo { namespace scm { @@ -16,6 +17,7 @@ namespace xo { using size_type = std::size_t; using AGCObject = xo::mm::AGCObject; using AAllocator = xo::mm::AAllocator; + using ppindentinfo = xo::print::ppindentinfo; DList(xo::obj h, DList * r) : head_{h}, rest_{r} {} @@ -40,8 +42,10 @@ namespace xo { /** return element at 0-based index @p ix **/ obj at(size_type ix) const; +#ifdef NOT_YET /** pretty-printing driver; combine layout+printing **/ bool pretty(const ppindentinfo & ppii) const; +#endif /** first member of list **/ obj head_; diff --git a/src/object2/IPrintable_DList.cpp b/src/object2/IPrintable_DList.cpp index 880af69..b705ad5 100644 --- a/src/object2/IPrintable_DList.cpp +++ b/src/object2/IPrintable_DList.cpp @@ -18,11 +18,17 @@ namespace xo { auto IPrintable_DList::pretty(const DList & self, const ppindentinfo & ppii) -> bool { + (void)self; + (void)ppii; + + return false; +#ifdef NOT_YET return self.pretty(ppii); +#endif } } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DList.cpp */ \ No newline at end of file +/* end IPrintable_DList.cpp */