Fix move constructor; variable was not initialized.
This commit is contained in:
parent
d117c89a9e
commit
0831f0d387
@ -44,6 +44,7 @@ SmartHandle<T,Deleter>::SmartHandle(T value, Deleter deleter)
|
||||
template<typename T, typename Deleter>
|
||||
SmartHandle<T,Deleter>::SmartHandle(SmartHandle&& src)
|
||||
{
|
||||
this->_doDelete = 0;
|
||||
this->reset(src._value,src._deleter);
|
||||
src._doDelete = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user