refactor: rename shallow_copy -> shallow_move + streamline
Use RCollector.std_copy_for where appropriate
This commit is contained in:
parent
0cb20c3789
commit
8ac5ba9bbb
28 changed files with 45 additions and 62 deletions
|
|
@ -185,9 +185,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
DList *
|
||||
DList::shallow_move(obj<AAllocator> mm) noexcept
|
||||
DList::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return mm.std_copy_for(this);
|
||||
return gc.std_copy_for(this);
|
||||
}
|
||||
|
||||
auto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue