diff --git a/libs/main/containers/pivector.h b/libs/main/containers/pivector.h index 08c87c87..09dc90fd 100644 --- a/libs/main/containers/pivector.h +++ b/libs/main/containers/pivector.h @@ -2478,7 +2478,7 @@ private: template::value , int>::type = 0> - inline void elementNew(T * to, T && from) {new(to)T(from);} + inline void elementNew(T * to, T && from) {new(to)T(std::move(from));} template::value , int>::type = 0>