refactor: rename shallow_copy -> shallow_move + streamline
Use RCollector.std_copy_for where appropriate
This commit is contained in:
parent
73b2561aa8
commit
0898733029
8 changed files with 15 additions and 12 deletions
|
|
@ -114,9 +114,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
DGlobalEnv *
|
||||
DGlobalEnv::shallow_move(obj<AAllocator> mm) noexcept
|
||||
DGlobalEnv::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return mm.std_copy_for<DGlobalEnv>(this);
|
||||
return gc.std_copy_for<DGlobalEnv>(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue