xo-alloc: IAlloc* i/face sufficient for Object._forward_children

This commit is contained in:
Roland Conybeare 2025-11-24 12:58:54 -05:00
commit c5c9441c1e
19 changed files with 22 additions and 22 deletions

View file

@ -75,7 +75,7 @@ namespace xo {
// LCOV_EXCL_START
std::size_t
Boolean::_forward_children(gc::GC *)
Boolean::_forward_children(gc::IAlloc *)
{
assert(false);
return 0;

View file

@ -48,7 +48,7 @@ namespace xo {
}
std::size_t
Float::_forward_children(gc::GC * /*gc*/) {
Float::_forward_children(gc::IAlloc * /*gc*/) {
return Float::_shallow_size();
}
}

View file

@ -49,7 +49,7 @@ namespace xo {
}
std::size_t
Integer::_forward_children(gc::GC * /*gc*/) {
Integer::_forward_children(gc::IAlloc * /*gc*/) {
return Integer::_shallow_size();
}

View file

@ -110,7 +110,7 @@ namespace xo {
}
std::size_t
List::_forward_children(gc::GC * gc)
List::_forward_children(gc::IAlloc * gc)
{
Object::_forward_inplace(head_, gc);
Object::_forward_inplace(rest_, gc);

View file

@ -152,7 +152,7 @@ namespace xo {
}
std::size_t
String::_forward_children(gc::GC *)
String::_forward_children(gc::IAlloc *)
{
return this->_shallow_size();
}