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); }