refactor: rename shallow_copy -> shallow_move + streamline
Use RCollector.std_copy_for where appropriate
This commit is contained in:
parent
73b2561aa8
commit
0898733029
8 changed files with 15 additions and 12 deletions
|
|
@ -191,10 +191,13 @@ namespace xo {
|
|||
}
|
||||
|
||||
DSchematikaParser *
|
||||
DSchematikaParser::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
DSchematikaParser::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
(void)mm;
|
||||
(void)gc;
|
||||
|
||||
/** TODO: may be feasible to use gc.std_copy_for(this)
|
||||
* if/when DSchematikaParser is moveable
|
||||
**/
|
||||
assert(false);
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue