Fix compiler warning in WebSocket async shutdown:

Credit: https://github.com/KnoerleMan

closes 2174
This commit is contained in:
KnoerleMan
2021-02-27 11:21:32 +01:00
committed by Richard Hodges
parent 02a171dd1a
commit fc673aa09b
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
* Fix compiler warning in WebSSocket async shutdown.
* Remove Travis CI status.
* Repoint B2 refs to new non-boostorg home.
* Limit async_write instantiations in websocket ops.

View File

@ -62,7 +62,7 @@ struct ssl_shutdown_op
template<class Self>
void
operator()(Self& self, error_code ec = {}, std::size_t bytes_transferred = 0)
operator()(Self& self, error_code ec = {}, std::size_t = 0)
{
BOOST_ASIO_CORO_REENTER(*this)
{