refactor: make AGCObject.shallow_copy() non-const
prep for moving to ACollector interface
This commit is contained in:
parent
53223b38ff
commit
d2aa0d0c55
30 changed files with 49 additions and 50 deletions
|
|
@ -85,7 +85,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DDefineExpr *
|
||||
DDefineExpr::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DDefineExpr::shallow_copy(obj<AAllocator> mm) noexcept
|
||||
{
|
||||
return mm.std_copy_for(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue