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 d2aa0d0c55
30 changed files with 49 additions and 50 deletions

View file

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