Commit 66862ee2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

utils: Add missing move assignment operator

parent 63dc59cc
......@@ -353,9 +353,15 @@ struct Embeded
Embeded& operator=( const Embeded& ) = default;
Embeded( Embeded&& e )
{
*this = std::move(e);
}
Embeded& operator=(Embeded&& e)
{
v = e.v;
memset( &e.v, 0, sizeof( e.v ) );
return *this;
}
Embeded( const NPVariant& npv )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment