refactor: rename RCollector.std_copy_for -> std_move_for
This commit is contained in:
parent
4e4687bc2a
commit
4ddef4fb29
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ public:
|
|||
|
||||
/** convenience template for move-constructible T (this is common) **/
|
||||
template <typename T>
|
||||
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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue