refactor: make AGCObject.shallow_copy() non-const
prep for moving to ACollector interface
This commit is contained in:
parent
0de80c6fc0
commit
ef23bca2b1
2 changed files with 5 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue