xo-object2: utest: ++ allocation in collector utest

This commit is contained in:
Roland Conybeare 2026-01-02 18:55:53 -05:00
commit c1ebe1febd
9 changed files with 73 additions and 22 deletions

View file

@ -133,12 +133,11 @@ namespace xo {
return s.sub_alloc(req_z, complete_flag);
}
byte *
IAllocator_DArena::_alloc(DArena & s,
std::size_t req_z,
DArena::alloc_mode mode)
std::byte *
IAllocator_DArena::alloc_copy(DArena &s,
value_type src)
{
return s._alloc(req_z, mode);
return s.alloc_copy(src);
}
void