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 ef23bca2b1
2 changed files with 5 additions and 5 deletions

View file

@ -49,7 +49,7 @@ namespace xo {
/** lookup interface from type sequence
* (can use tseq = typeseq::id<T>() for type T)
**/
const AGCObject * lookup_type(typeseq tseq) const noexcept;
AGCObject * lookup_type(typeseq tseq) const noexcept;
/** generation to which pointer @p addr belongs, given role @p r;
* sentinel if not found in this collector
@ -217,7 +217,7 @@ namespace xo {
* Shallow: does not traverse children
**/
void * _shallow_move(DX1Collector * gc,
const AGCObject * iface,
AGCObject * iface,
void * from_src);
private: