base: fix move constructor of ObjHandle
This commit is contained in:
parent
4dc9422344
commit
41e206f5aa
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace CNORXZ
|
||||||
ObjHandle<T>::ObjHandle(const ObjHandle& a) : mC(a.mC->copy()) {}
|
ObjHandle<T>::ObjHandle(const ObjHandle& a) : mC(a.mC->copy()) {}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
ObjHandle<T>::ObjHandle(ObjHandle&& a) : mC(a.mC) {}
|
ObjHandle<T>::ObjHandle(ObjHandle&& a) : mC(std::move(a.mC)) {}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
ObjHandle<T>& ObjHandle<T>::operator=(const ObjHandle& a)
|
ObjHandle<T>& ObjHandle<T>::operator=(const ObjHandle& a)
|
||||||
|
|
Loading…
Reference in a new issue