mirror of
https://github.com/boostorg/asio.git
synced 2026-01-30 19:32:09 +00:00
Fix completion signatures used for ssl::stream's async_handshake and async_shutdown.
This commit is contained in:
@@ -438,7 +438,7 @@ public:
|
||||
BOOST_ASIO_MOVE_ARG(HandshakeHandler) handler)
|
||||
{
|
||||
return async_initiate<HandshakeHandler,
|
||||
void (boost::system::error_code, std::size_t)>(
|
||||
void (boost::system::error_code)>(
|
||||
initiate_async_handshake(), handler, this, type);
|
||||
}
|
||||
|
||||
@@ -519,7 +519,7 @@ public:
|
||||
async_shutdown(BOOST_ASIO_MOVE_ARG(ShutdownHandler) handler)
|
||||
{
|
||||
return async_initiate<ShutdownHandler,
|
||||
void (boost::system::error_code, std::size_t)>(
|
||||
void (boost::system::error_code)>(
|
||||
initiate_async_shutdown(), handler, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user