Sets - Missing returns in assignment operators
This commit is contained in:
parent
04726e2067
commit
324774848f
1 changed files with 2 additions and 0 deletions
|
@ -523,6 +523,7 @@ T_Set< Type >& T_Set< Type >::operator =(
|
||||||
handler_( T_SetHelper::DESTROY , &storage_ , nullptr , nullptr );
|
handler_( T_SetHelper::DESTROY , &storage_ , nullptr , nullptr );
|
||||||
handler_ = other.handler_;
|
handler_ = other.handler_;
|
||||||
handler_( T_SetHelper::INIT_COPY , nullptr , &other.storage_ , &storage_ );
|
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_( T_SetHelper::DESTROY , &storage_ , nullptr , nullptr );
|
||||||
handler_ = other.handler_;
|
handler_ = other.handler_;
|
||||||
handler_( T_SetHelper::INIT_MOVE , &other.storage_ , nullptr , &storage_ );
|
handler_( T_SetHelper::INIT_MOVE , &other.storage_ , nullptr , &storage_ );
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue