refactor: rename GCObject.shallow_copy -> shallow_move

resolve conflict since relying on move constructor in std_copy_for
This commit is contained in:
Roland Conybeare 2026-04-04 15:00:53 -04:00
commit 06161d2b50
164 changed files with 255 additions and 255 deletions

View file

@ -156,7 +156,7 @@ namespace xo {
}
DString *
DString::shallow_copy(obj<AAllocator> mm) const noexcept
DString::shallow_move(obj<AAllocator> mm) const noexcept
{
DString * copy = (DString *)mm.alloc_copy((std::byte *)this);

View file

@ -88,7 +88,7 @@ namespace xo {
}
DUniqueString *
DUniqueString::shallow_copy(obj<AAllocator> mm) const noexcept
DUniqueString::shallow_move(obj<AAllocator> mm) const noexcept
{
// well-posed, but not expected to be used.
assert(false);

View file

@ -22,9 +22,9 @@ namespace xo {
}
auto
IGCObject_DString::shallow_copy(DString & self, obj<AAllocator> mm) noexcept -> Opaque
IGCObject_DString::shallow_move(DString & self, obj<AAllocator> mm) noexcept -> Opaque
{
return self.shallow_copy(mm);
return self.shallow_move(mm);
}
auto
IGCObject_DString::forward_children(DString & self, obj<ACollector> gc) noexcept -> size_type

View file

@ -22,9 +22,9 @@ namespace xo {
}
auto
IGCObject_DUniqueString::shallow_copy(DUniqueString & self, obj<AAllocator> mm) noexcept -> Opaque
IGCObject_DUniqueString::shallow_move(DUniqueString & self, obj<AAllocator> mm) noexcept -> Opaque
{
return self.shallow_copy(mm);
return self.shallow_move(mm);
}
auto
IGCObject_DUniqueString::forward_children(DUniqueString & self, obj<ACollector> gc) noexcept -> size_type