From cd236dcfbe4c58291e04a34660ec8c91d9ca48a5 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 28 Mar 2026 13:17:16 -0400 Subject: [PATCH] xo-alloc2: in forward_inplace() helper strip const for facet lookup --- xo-alloc2/include/xo/alloc2/gc/RCollector_aux.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xo-alloc2/include/xo/alloc2/gc/RCollector_aux.hpp b/xo-alloc2/include/xo/alloc2/gc/RCollector_aux.hpp index ece1b55c..529f69db 100644 --- a/xo-alloc2/include/xo/alloc2/gc/RCollector_aux.hpp +++ b/xo-alloc2/include/xo/alloc2/gc/RCollector_aux.hpp @@ -34,8 +34,8 @@ namespace xo { void RCollector::forward_inplace(DRepr ** p_repr) { - // fetch static interface for DRepr - auto iface = xo::facet::impl_for(); + // fetch static interface for DRepr (strip const: FacetImplementation specializations use non-const DRepr) + auto iface = xo::facet::impl_for>(); this->forward_inplace(&iface, (void **)p_repr); }