From 3cc5d7d38c734e813df47ffa4da6e3c221e8aae2 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Sat, 24 Nov 2012 10:40:48 +0100 Subject: [PATCH] remove ambig. move-assing-op for unique_future<> --- boost/fiber/future.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boost/fiber/future.hpp b/boost/fiber/future.hpp index 53456a77..15c33d43 100644 --- a/boost/fiber/future.hpp +++ b/boost/fiber/future.hpp @@ -672,7 +672,6 @@ namespace fibers { future=other.future; return *this; } - shared_future& operator=(BOOST_RV_REF(unique_future) other) { future=other.future; @@ -694,12 +693,14 @@ namespace fibers { other.future.reset(); return *this; } +#if 0 shared_future& operator=(unique_future && other) { future.swap(other.future); other.future.reset(); return *this; } +#endif #else shared_future(BOOST_RV_REF(shared_future) other): future(other.future)