refactor: make AGCObject.shallow_copy() non-const

prep for moving to ACollector interface
This commit is contained in:
Roland Conybeare 2026-04-04 14:38:14 -04:00
commit 7e575e6214
6 changed files with 8 additions and 10 deletions

View file

@ -114,7 +114,7 @@ namespace xo {
}
DGlobalEnv *
DGlobalEnv::shallow_copy(obj<AAllocator> mm) const noexcept
DGlobalEnv::shallow_copy(obj<AAllocator> mm) noexcept
{
return mm.std_copy_for<DGlobalEnv>(this);
}