remove typedef in void-specializations

This commit is contained in:
Oliver Kowalke 2015-02-09 22:15:52 +01:00
parent 2eb694583f
commit c37afa91ca
4 changed files with 16 additions and 16 deletions

View File

@ -71,17 +71,17 @@ struct pull_coroutine< T & >::control_block {
};
struct pull_coroutine< void >::control_block {
typename push_coroutine< void >::control_block * other;
boost::context::execution_context caller;
boost::context::execution_context callee;
bool preserve_fpu;
int state;
std::exception_ptr except;
push_coroutine< void >::control_block * other;
boost::context::execution_context caller;
boost::context::execution_context callee;
bool preserve_fpu;
int state;
std::exception_ptr except;
template< typename StackAllocator, typename Fn >
control_block( context::preallocated, StackAllocator, rref< Fn >, bool);
explicit control_block( typename push_coroutine< void >::control_block *);
explicit control_block( push_coroutine< void >::control_block *);
~control_block();

View File

@ -212,7 +212,7 @@ pull_coroutine< void >::control_block::control_block( context::preallocated pall
}
inline
pull_coroutine< void >::control_block::control_block( typename push_coroutine< void >::control_block * cb) :
pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb) :
other( cb),
caller( other->callee),
callee( other->caller),

View File

@ -75,17 +75,17 @@ struct push_coroutine< T & >::control_block {
};
struct push_coroutine< void >::control_block {
typename pull_coroutine< void >::control_block * other;
boost::context::execution_context caller;
boost::context::execution_context callee;
bool preserve_fpu;
int state;
std::exception_ptr except;
pull_coroutine< void >::control_block * other;
boost::context::execution_context caller;
boost::context::execution_context callee;
bool preserve_fpu;
int state;
std::exception_ptr except;
template< typename StackAllocator, typename Fn >
control_block( context::preallocated, StackAllocator, rref< Fn >, bool);
explicit control_block( typename pull_coroutine< void >::control_block *);
explicit control_block( pull_coroutine< void >::control_block *);
~control_block();

View File

@ -238,7 +238,7 @@ push_coroutine< void >::control_block::control_block( context::preallocated pall
}
inline
push_coroutine< void >::control_block::control_block( typename pull_coroutine< void >::control_block * cb) :
push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb) :
other( cb),
caller( other->callee),
callee( other->caller),