refactor: rename RCollector.std_copy_for -> std_move_for
This commit is contained in:
parent
8ac5ba9bbb
commit
0ec1008fa3
7 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue