xo-object2: DList: streamline forward_children()
This commit is contained in:
parent
bfae393127
commit
2e5c2e7149
1 changed files with 5 additions and 3 deletions
|
|
@ -172,10 +172,12 @@ namespace xo {
|
|||
{
|
||||
//scope log(XO_DEBUG(true));
|
||||
|
||||
gc.forward_inplace(head_.iface(), (void **)&(head_.data_));
|
||||
gc.forward_inplace(&head_);
|
||||
//gc.forward_inplace(head_.iface(), (void **)&(head_.data_));
|
||||
|
||||
auto iface = xo::facet::impl_for<AGCObject,DList>();
|
||||
gc.forward_inplace(&iface, (void **)(&rest_));
|
||||
gc.forward_inplace(&rest_);
|
||||
//auto iface = xo::facet::impl_for<AGCObject,DList>();
|
||||
//gc.forward_inplace(&iface, (void **)(&rest_));
|
||||
|
||||
return this->shallow_size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue