From 73bfe2ed260e8a86f3d0bcc6f39676fa5316f7e4 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 4 Apr 2026 16:37:17 -0400 Subject: [PATCH] refactor: rename RCollector.std_copy_for -> std_move_for --- src/stringtable2/DString.cpp | 2 +- src/stringtable2/DUniqueString.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stringtable2/DString.cpp b/src/stringtable2/DString.cpp index 81f7780c..c3340f46 100644 --- a/src/stringtable2/DString.cpp +++ b/src/stringtable2/DString.cpp @@ -158,7 +158,7 @@ namespace xo { DString * DString::shallow_move(obj 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); diff --git a/src/stringtable2/DUniqueString.cpp b/src/stringtable2/DUniqueString.cpp index 057ee1f3..1d107f67 100644 --- a/src/stringtable2/DUniqueString.cpp +++ b/src/stringtable2/DUniqueString.cpp @@ -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);