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 5172de7862
37 changed files with 37 additions and 37 deletions

View file

@ -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);

View file

@ -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);