Updates from BitShares FC #22
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ namespace fc {
|
||||||
template<typename T>
|
template<typename T>
|
||||||
T& smart_ref<T>::operator = ( smart_ref<T>&& u ) {
|
T& smart_ref<T>::operator = ( smart_ref<T>&& u ) {
|
||||||
if( &u == this ) return *impl;
|
if( &u == this ) return *impl;
|
||||||
if( impl ) delete impl;
|
delete impl;
|
||||||
impl = u.impl;
|
impl = u.impl;
|
||||||
u.impl = nullptr;
|
u.impl = nullptr;
|
||||||
return *impl;
|
return *impl;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue