refactor: use GCObjectVisitor api w/ gco_shallow_move
This commit is contained in:
parent
f9f2822099
commit
997d3d8264
44 changed files with 89 additions and 133 deletions
|
|
@ -58,14 +58,8 @@ namespace xo {
|
|||
|
||||
// gcobject facet
|
||||
|
||||
std::size_t
|
||||
DVarRef::shallow_size() const noexcept
|
||||
{
|
||||
return sizeof(DVarRef);
|
||||
}
|
||||
|
||||
DVarRef *
|
||||
DVarRef::shallow_move(obj<ACollector> gc) noexcept
|
||||
DVarRef::gco_shallow_move(obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue