refactor: rename shallow_copy -> shallow_move + streamline

Use RCollector.std_copy_for where appropriate
This commit is contained in:
Roland Conybeare 2026-04-04 16:33:35 -04:00
commit e179c9795b
36 changed files with 58 additions and 82 deletions

View file

@ -954,11 +954,14 @@ namespace xo {
}
DVirtualSchematikaMachine *
DVirtualSchematikaMachine::shallow_move(obj<AAllocator> mm) const noexcept
DVirtualSchematikaMachine::shallow_move(obj<ACollector> gc) noexcept
{
(void)mm;
(void)gc;
/** not copyable (because SchematikaReader isn't) **/
/** TODO: should be able to use gc.std_copy_for(this) now
* that shallow_move uses move construction.
* DVirtualSchematikaMachine is (or can be made) moveable.
**/
assert(false);