2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-18 14:02:18 +00:00

fix future<> assing-operators

This commit is contained in:
Oliver Kowalke
2013-10-23 19:11:07 +02:00
parent c6718b1ee8
commit 3474425780

View File

@@ -941,7 +941,7 @@ public:
shared_future & operator=( shared_future const& other) BOOST_NOEXCEPT
{
//TODO:
shared_future tmp( other);
shared_future tmp( boost::move( other) );
swap( tmp);
return * this;
}
@@ -949,7 +949,7 @@ public:
shared_future & operator=( BOOST_RV_REF( future< void >) other) BOOST_NOEXCEPT
{
//TODO:
shared_future tmp( other);
shared_future tmp( boost::move( other) );
swap( tmp);
return * this;
}