remove_reference is not needed in async_completion constructor.
This commit is contained in:
parent
66e76b9e42
commit
91b3bb1c73
@ -66,7 +66,7 @@ struct async_completion
|
||||
*/
|
||||
#if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
||||
explicit async_completion(
|
||||
typename remove_reference<Handler>::type& orig_handler)
|
||||
Handler& orig_handler)
|
||||
: handler(static_cast<typename conditional<
|
||||
is_same<Handler, handler_type>::value,
|
||||
handler_type&, Handler&&>::type>(orig_handler)),
|
||||
|
Loading…
Reference in New Issue
Block a user