base: fix move constructor of ObjHandle

This commit is contained in:
Christian Zimmermann 2024-06-09 17:33:04 +02:00
parent 4dc9422344
commit 41e206f5aa

View file

@ -29,7 +29,7 @@ namespace CNORXZ
ObjHandle<T>::ObjHandle(const ObjHandle& a) : mC(a.mC->copy()) {}
template <typename T>
ObjHandle<T>::ObjHandle(ObjHandle&& a) : mC(a.mC) {}
ObjHandle<T>::ObjHandle(ObjHandle&& a) : mC(std::move(a.mC)) {}
template <typename T>
ObjHandle<T>& ObjHandle<T>::operator=(const ObjHandle& a)