2
0
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:
Christopher Kohlhoff
2019-02-18 23:07:24 -10:00
parent 1c531d2618
commit e8e370c9ca

View File

@@ -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);
}