xo-alloc: IAlloc* i/face sufficient for Object._forward_children
This commit is contained in:
parent
e10380a792
commit
66235079a8
5 changed files with 8 additions and 8 deletions
|
|
@ -34,7 +34,7 @@ namespace xo {
|
|||
|
||||
virtual std::size_t _shallow_size() const final override { return sizeof(*this); }
|
||||
virtual Object * _shallow_copy(gc::IAlloc * mm) const final override { return new (Cpof(mm, this)) DummyObject(*this); }
|
||||
virtual std::size_t _forward_children(gc::GC * gc) final override { return _shallow_size(); }
|
||||
virtual std::size_t _forward_children(gc::IAlloc * gc) final override { return _shallow_size(); }
|
||||
|
||||
private:
|
||||
std::array<char, 128> data_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue