refactor: use GCObjectVisitor api w/ gco_shallow_move
This commit is contained in:
parent
547f897c31
commit
e95353f1c8
169 changed files with 391 additions and 402 deletions
|
|
@ -82,14 +82,8 @@ namespace xo {
|
|||
|
||||
// GCObject facet
|
||||
|
||||
std::size_t
|
||||
DIfElseExpr::shallow_size() const noexcept
|
||||
{
|
||||
return sizeof(DIfElseExpr);
|
||||
}
|
||||
|
||||
DIfElseExpr *
|
||||
DIfElseExpr::shallow_move(obj<ACollector> gc) noexcept
|
||||
DIfElseExpr::gco_shallow_move(obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue