From fd1391f8920838086b37f76ea647243ec8ca7bf1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 4 May 2021 20:26:35 +0300 Subject: fix compiler warning --- server/main/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main/session.cpp b/server/main/session.cpp index 4725c38..b824a2b 100644 --- a/server/main/session.cpp +++ b/server/main/session.cpp @@ -108,7 +108,7 @@ void Session::write(const std::string& output) { })); } -void Session::handle_write(const boost::system::error_code& ec, std::size_t bytes) { +void Session::handle_write(const boost::system::error_code& ec, std::size_t) { if (ec) { log::error("%1%: %2%", __func__, ec.message()); m_session_mgr.stop(shared_from_this()); -- cgit v1.2.3