refactor: rename shallow_copy -> shallow_move + streamline

Use RCollector.std_copy_for where appropriate
This commit is contained in:
Roland Conybeare 2026-04-04 16:33:35 -04:00
commit 0898733029
8 changed files with 15 additions and 12 deletions

View file

@ -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