diff options
Diffstat (limited to 'boost/coroutine2/detail/push_control_block_cc.hpp')
-rw-r--r-- | boost/coroutine2/detail/push_control_block_cc.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/coroutine2/detail/push_control_block_cc.hpp b/boost/coroutine2/detail/push_control_block_cc.hpp index d01c98f089..8dda44fb7e 100644 --- a/boost/coroutine2/detail/push_control_block_cc.hpp +++ b/boost/coroutine2/detail/push_control_block_cc.hpp @@ -32,7 +32,7 @@ struct push_coroutine< T >::control_block { static void destroy( control_block * cb) noexcept; template< typename StackAllocator, typename Fn > - control_block( context::preallocated, StackAllocator, Fn &&); + control_block( context::preallocated, StackAllocator &&, Fn &&); control_block( typename pull_coroutine< T >::control_block *, boost::context::continuation &) noexcept; @@ -58,7 +58,7 @@ struct push_coroutine< T & >::control_block { static void destroy( control_block * cb) noexcept; template< typename StackAllocator, typename Fn > - control_block( context::preallocated, StackAllocator, Fn &&); + control_block( context::preallocated, StackAllocator &&, Fn &&); control_block( typename pull_coroutine< T & >::control_block *, boost::context::continuation &) noexcept; @@ -81,7 +81,7 @@ struct push_coroutine< void >::control_block { static void destroy( control_block * cb) noexcept; template< typename StackAllocator, typename Fn > - control_block( context::preallocated, StackAllocator, Fn &&); + control_block( context::preallocated, StackAllocator &&, Fn &&); control_block( pull_coroutine< void >::control_block *, boost::context::continuation &) noexcept; |