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

remove ambig. move-assing-op for unique_future<>

This commit is contained in:
Oliver Kowalke
2012-11-24 10:40:48 +01:00
parent 3dd674eced
commit 3cc5d7d38c

View File

@@ -672,7 +672,6 @@ namespace fibers {
future=other.future;
return *this;
}
shared_future& operator=(BOOST_RV_REF(unique_future<R>) other)
{
future=other.future;
@@ -694,12 +693,14 @@ namespace fibers {
other.future.reset();
return *this;
}
#if 0
shared_future& operator=(unique_future<R> && other)
{
future.swap(other.future);
other.future.reset();
return *this;
}
#endif
#else
shared_future(BOOST_RV_REF(shared_future) other):
future(other.future)