From 4ddef4fb2951c5e938ee307d27d38f9dd0d48e9d 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 --- include/xo/alloc2/gc/RCollector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xo/alloc2/gc/RCollector.hpp b/include/xo/alloc2/gc/RCollector.hpp index 3bb2146..3189a0f 100644 --- a/include/xo/alloc2/gc/RCollector.hpp +++ b/include/xo/alloc2/gc/RCollector.hpp @@ -55,7 +55,7 @@ public: /** convenience template for move-constructible T (this is common) **/ template - T * std_copy_for(T * src) noexcept { + T * std_move_for(T * src) noexcept { void * mem = this->alloc_copy_for(src); if (mem) { return new (mem) T(std::move(*src));