refactor: rename GCObject.shallow_copy -> shallow_move
resolve conflict since relying on move constructor in std_copy_for
This commit is contained in:
parent
7e575e6214
commit
73b2561aa8
9 changed files with 15 additions and 15 deletions
|
|
@ -114,7 +114,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DGlobalEnv *
|
||||
DGlobalEnv::shallow_copy(obj<AAllocator> mm) noexcept
|
||||
DGlobalEnv::shallow_move(obj<AAllocator> mm) noexcept
|
||||
{
|
||||
return mm.std_copy_for<DGlobalEnv>(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DSchematikaParser *
|
||||
DSchematikaParser::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DSchematikaParser::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
(void)mm;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DGlobalEnv::shallow_copy(DGlobalEnv & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DGlobalEnv::shallow_move(DGlobalEnv & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DGlobalEnv::forward_children(DGlobalEnv & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DSchematikaParser::shallow_copy(DSchematikaParser & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DSchematikaParser::shallow_move(DSchematikaParser & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DSchematikaParser::forward_children(DSchematikaParser & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue