xo-alloc: utest: fix forwading unit test after upstream refactor
This commit is contained in:
parent
52113737ac
commit
7fdfc71390
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ namespace xo {
|
|||
void display(std::ostream & os) const final override { os << data_; }
|
||||
|
||||
virtual std::size_t _shallow_size() const final override { return sizeof(*this); }
|
||||
virtual Object * _shallow_copy() const final override { return new (Cpof(Object::mm, this)) DummyObject(*this); }
|
||||
virtual std::size_t _forward_children() final override { return _shallow_size(); }
|
||||
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(); }
|
||||
|
||||
private:
|
||||
std::array<char, 128> data_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue