diff --git a/include/xo/alloc2/dp.hpp b/include/xo/alloc2/dp.hpp index 6c768ce..266f42d 100644 --- a/include/xo/alloc2/dp.hpp +++ b/include/xo/alloc2/dp.hpp @@ -61,6 +61,8 @@ namespace xo { dp & operator=(dp && x) { ptr_ = x.ptr_; x.ptr_ = nullptr; + + return *this; } // --------------------------------