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