From fc673aa09ba7a73e34ce96fb26d6d2ff695e364b Mon Sep 17 00:00:00 2001 From: KnoerleMan <55956669+KnoerleMan@users.noreply.github.com> Date: Sat, 27 Feb 2021 11:21:32 +0100 Subject: [PATCH] Fix compiler warning in WebSocket async shutdown: Credit: https://github.com/KnoerleMan closes 2174 --- CHANGELOG.md | 1 + include/boost/beast/websocket/impl/ssl.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) {