Sets - Fixed bug with heap-allocated sets

This commit is contained in:
Emmanuel BENOîT 2017-11-09 09:59:43 +01:00
parent cdbc81094d
commit 9f666eea49

View file

@ -436,11 +436,11 @@ void T_SetHelper::T_HeapHandler< Type , ImplTag >::shdl(
break;
case INIT_COPY:
*(T_Impl_**)output = ::new T_Impl_( *(T_Impl_ const**)rArg );
*(T_Impl_**)output = ::new T_Impl_( **(T_Impl_ const**)rArg );
break;
case INIT_MOVE:
*(T_Impl_**)output = ::new T_Impl_( std::move( *(T_Impl_**)wArg ) );
*(T_Impl_**)output = ::new T_Impl_( std::move( **(T_Impl_**)wArg ) );
break;
case DESTROY: