refactor: rename RCollector.std_copy_for -> std_move_for

This commit is contained in:
Roland Conybeare 2026-04-04 16:37:17 -04:00
commit 0ec1008fa3
7 changed files with 7 additions and 7 deletions

View file

@ -183,7 +183,7 @@ namespace xo {
DArray *
DArray::shallow_move(obj<ACollector> gc) noexcept
{
// note: not using gc.std_copy_for() here.
// note: not using gc.std_move_for() here.
// flexible array -> compiler doesn't know actual DArray allocation size
DArray * copy = (DArray *)gc.alloc_copy((std::byte *)this);

View file

@ -38,7 +38,7 @@ namespace xo {
DBoolean *
DBoolean::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
size_t

View file

@ -276,7 +276,7 @@ namespace xo {
DDictionary *
DDictionary::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t

View file

@ -36,7 +36,7 @@ namespace xo {
DFloat *
DFloat::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
size_t

View file

@ -36,7 +36,7 @@ namespace xo {
DInteger *
DInteger::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
size_t

View file

@ -187,7 +187,7 @@ namespace xo {
DList *
DList::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
auto

View file

@ -61,7 +61,7 @@ namespace xo {
DRuntimeError *
DRuntimeError::shallow_move(obj<ACollector> gc) noexcept
{
return gc.std_copy_for(this);
return gc.std_move_for(this);
}
std::size_t