refactor: + narrower interface for gc pointer forwarding
add AGCObjectVisitor, instead of requiring ACollector.
This commit is contained in:
parent
bf8c3628ff
commit
d740c94406
105 changed files with 260 additions and 416 deletions
|
|
@ -267,10 +267,10 @@ namespace xo {
|
|||
|
||||
|
||||
void
|
||||
DExpectQDictSsm::forward_children(obj<ACollector> gc) noexcept
|
||||
DExpectQDictSsm::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
gc.forward_inplace(const_cast<DString **>(&key_));
|
||||
gc.forward_inplace(&dict_);
|
||||
gc.visit_child(&key_);
|
||||
gc.visit_child(&dict_);
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue