refactor: rename RCollector.std_copy_for -> std_move_for
This commit is contained in:
parent
e179c9795b
commit
a0de9b8ebd
9 changed files with 9 additions and 9 deletions
|
|
@ -71,7 +71,7 @@ namespace xo {
|
|||
|
||||
DClosure *
|
||||
DClosure::shallow_move(obj<ACollector> gc) noexcept {
|
||||
return gc.std_copy_for(this);
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ namespace xo {
|
|||
|
||||
DLocalEnv *
|
||||
DLocalEnv::shallow_move(obj<ACollector> gc) noexcept {
|
||||
return gc.std_copy_for(this);
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -958,7 +958,7 @@ namespace xo {
|
|||
{
|
||||
(void)gc;
|
||||
|
||||
/** TODO: should be able to use gc.std_copy_for(this) now
|
||||
/** TODO: should be able to use gc.std_move_for(this) now
|
||||
* that shallow_move uses move construction.
|
||||
* DVirtualSchematikaMachine is (or can be made) moveable.
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace xo {
|
|||
DVsmApplyClosureFrame *
|
||||
DVsmApplyClosureFrame::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return gc.std_copy_for(this);
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ namespace xo {
|
|||
DVsmApplyFrame *
|
||||
DVsmApplyFrame::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return gc.std_copy_for(this);
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace xo {
|
|||
DVsmDefContFrame *
|
||||
DVsmDefContFrame::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return gc.std_copy_for<DVsmDefContFrame>(this);
|
||||
return gc.std_move_for<DVsmDefContFrame>(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ namespace xo {
|
|||
DVsmEvalArgsFrame *
|
||||
DVsmEvalArgsFrame::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return gc.std_copy_for(this);
|
||||
return gc.std_move_for(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace xo {
|
|||
DVsmIfElseContFrame *
|
||||
DVsmIfElseContFrame::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return gc.std_copy_for<DVsmIfElseContFrame>(this);
|
||||
return gc.std_move_for<DVsmIfElseContFrame>(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace xo {
|
|||
DVsmSeqContFrame *
|
||||
DVsmSeqContFrame::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
return gc.std_copy_for<DVsmSeqContFrame>(this);
|
||||
return gc.std_move_for<DVsmSeqContFrame>(this);
|
||||
}
|
||||
|
||||
std::size_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue