diff --git a/include/ebcl/inline/Sets.hh b/include/ebcl/inline/Sets.hh index db52869..30607bf 100644 --- a/include/ebcl/inline/Sets.hh +++ b/include/ebcl/inline/Sets.hh @@ -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; } /*----------------------------------------------------------------------------*/