diff options
Diffstat (limited to 'boost/coroutine2/detail/pull_control_block_cc.hpp')
-rw-r--r-- | boost/coroutine2/detail/pull_control_block_cc.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/boost/coroutine2/detail/pull_control_block_cc.hpp b/boost/coroutine2/detail/pull_control_block_cc.hpp index b9ac614109..da60cc482a 100644 --- a/boost/coroutine2/detail/pull_control_block_cc.hpp +++ b/boost/coroutine2/detail/pull_control_block_cc.hpp @@ -11,7 +11,7 @@ #include <type_traits> #include <boost/config.hpp> -#include <boost/context/continuation.hpp> +#include <boost/context/fiber.hpp> #include <boost/coroutine2/detail/state.hpp> @@ -25,7 +25,7 @@ namespace detail { template< typename T > struct pull_coroutine< T >::control_block { - boost::context::continuation c; + boost::context::fiber c; typename push_coroutine< T >::control_block * other; state_t state; std::exception_ptr except; @@ -37,7 +37,7 @@ struct pull_coroutine< T >::control_block { template< typename StackAllocator, typename Fn > control_block( context::preallocated, StackAllocator &&, Fn &&); - control_block( typename push_coroutine< T >::control_block *, boost::context::continuation &) noexcept; + control_block( typename push_coroutine< T >::control_block *, boost::context::fiber &) noexcept; ~control_block(); @@ -66,7 +66,7 @@ struct pull_coroutine< T & >::control_block { } }; - boost::context::continuation c; + boost::context::fiber c; typename push_coroutine< T & >::control_block * other; state_t state; std::exception_ptr except; @@ -78,7 +78,7 @@ struct pull_coroutine< T & >::control_block { template< typename StackAllocator, typename Fn > control_block( context::preallocated, StackAllocator &&, Fn &&); - control_block( typename push_coroutine< T & >::control_block *, boost::context::continuation &) noexcept; + control_block( typename push_coroutine< T & >::control_block *, boost::context::fiber &) noexcept; control_block( control_block &) = delete; control_block & operator=( control_block &) = delete; @@ -95,7 +95,7 @@ struct pull_coroutine< T & >::control_block { }; struct pull_coroutine< void >::control_block { - boost::context::continuation c; + boost::context::fiber c; push_coroutine< void >::control_block * other; state_t state; std::exception_ptr except; @@ -105,7 +105,7 @@ struct pull_coroutine< void >::control_block { template< typename StackAllocator, typename Fn > control_block( context::preallocated, StackAllocator &&, Fn &&); - control_block( push_coroutine< void >::control_block *, boost::context::continuation &) noexcept; + control_block( push_coroutine< void >::control_block *, boost::context::fiber &) noexcept; control_block( control_block &) = delete; control_block & operator=( control_block &) = delete; |