diff --git a/CHANGELOG.md b/CHANGELOG.md index 618413e0..805820ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/include/boost/beast/websocket/impl/ssl.hpp b/include/boost/beast/websocket/impl/ssl.hpp index 48f445f5..7b9bdd63 100644 --- a/include/boost/beast/websocket/impl/ssl.hpp +++ b/include/boost/beast/websocket/impl/ssl.hpp @@ -62,7 +62,7 @@ struct ssl_shutdown_op template 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) {