refactor: rename RCollector.std_copy_for -> std_move_for
This commit is contained in:
parent
d0e6ab5b44
commit
73bfe2ed26
2 changed files with 2 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ namespace xo {
|
|||
DString *
|
||||
DString::shallow_move(obj<ACollector> gc) noexcept
|
||||
{
|
||||
// note: not using gc.std_copy_for() here
|
||||
// note: not using gc.std_move_for() here
|
||||
// b/c DString flexible array means not move-constructible
|
||||
|
||||
DString * copy = (DString *)gc.alloc_copy_for(this);
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ namespace xo {
|
|||
{
|
||||
// well-posed, but not expected to be used.
|
||||
//
|
||||
// Not using gc.std_copy_for() here because compiler doesn't know
|
||||
// Not using gc.std_move_for() here because compiler doesn't know
|
||||
// actual alloc size of a DUniqueString instance
|
||||
|
||||
assert(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue