Sets - Missing returns in assignment operators

This commit is contained in:
Emmanuel BENOîT 2017-12-14 18:53:03 +01:00
parent 04726e2067
commit 324774848f

View file

@ -523,6 +523,7 @@ T_Set< Type >& T_Set< Type >::operator =(
handler_( T_SetHelper::DESTROY , &storage_ , nullptr , nullptr );
handler_ = other.handler_;
handler_( T_SetHelper::INIT_COPY , nullptr , &other.storage_ , &storage_ );
return *this;
}
@ -543,6 +544,7 @@ T_Set< Type >& T_Set< Type >::operator =(
handler_( T_SetHelper::DESTROY , &storage_ , nullptr , nullptr );
handler_ = other.handler_;
handler_( T_SetHelper::INIT_MOVE , &other.storage_ , nullptr , &storage_ );
return *this;
}
/*----------------------------------------------------------------------------*/