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