diff --git a/src/include/base/obj_handle.cc.h b/src/include/base/obj_handle.cc.h index 8288de4..ab99ea8 100644 --- a/src/include/base/obj_handle.cc.h +++ b/src/include/base/obj_handle.cc.h @@ -29,7 +29,7 @@ namespace CNORXZ ObjHandle::ObjHandle(const ObjHandle& a) : mC(a.mC->copy()) {} template - ObjHandle::ObjHandle(ObjHandle&& a) : mC(a.mC) {} + ObjHandle::ObjHandle(ObjHandle&& a) : mC(std::move(a.mC)) {} template ObjHandle& ObjHandle::operator=(const ObjHandle& a)