diff --git a/include/boost/thread/future.hpp b/include/boost/thread/future.hpp index 7374c78f..b7c291c8 100644 --- a/include/boost/thread/future.hpp +++ b/include/boost/thread/future.hpp @@ -3717,7 +3717,6 @@ namespace detail { shared_state_nullary_task(csbl::shared_ptr st, BOOST_THREAD_FWD_REF(Fp) f) : that(st), f_(boost::move(f)) {}; -#if ! defined(BOOST_NO_CXX11_RVALUE_REFERENCES) BOOST_THREAD_COPYABLE_AND_MOVABLE(shared_state_nullary_task) shared_state_nullary_task(shared_state_nullary_task const& x) //BOOST_NOEXCEPT : that(x.that), f_(x.f_) @@ -3745,7 +3744,6 @@ namespace detail { } return *this; } -#endif void operator()() { csbl::shared_ptr> that_ = csbl::dynamic_pointer_cast>(that); if (! that) return; @@ -3769,7 +3767,6 @@ namespace detail { shared_state_nullary_task(csbl::shared_ptr st, BOOST_THREAD_FWD_REF(Fp) f) : that(st), f_(boost::move(f)) {}; -#if ! defined(BOOST_NO_CXX11_RVALUE_REFERENCES) BOOST_THREAD_COPYABLE_AND_MOVABLE(shared_state_nullary_task) shared_state_nullary_task(shared_state_nullary_task const& x) //BOOST_NOEXCEPT : that(x.that), f_(x.f_) @@ -3796,7 +3793,6 @@ namespace detail { } return *this; } -#endif void operator()() { csbl::shared_ptr> that_ = csbl::dynamic_pointer_cast>(that); if (! that) return; @@ -3818,7 +3814,6 @@ namespace detail { shared_state_nullary_task(csbl::shared_ptr st, BOOST_THREAD_FWD_REF(Fp) f) : that(st), f_(boost::move(f)) {} -#if ! defined(BOOST_NO_CXX11_RVALUE_REFERENCES) BOOST_THREAD_COPYABLE_AND_MOVABLE(shared_state_nullary_task) shared_state_nullary_task(shared_state_nullary_task const& x) BOOST_NOEXCEPT : that(x.that), f_(x.f_) {} @@ -3844,7 +3839,6 @@ namespace detail { } return *this; } -#endif void operator()() { csbl::shared_ptr> that_ = csbl::dynamic_pointer_cast>(that); if (! that) return; @@ -3885,7 +3879,6 @@ namespace detail { ~future_executor_shared_state() {} }; - //////////////////////////////// // make_future_executor_shared_state ////////////////////////////////