diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 20:26:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 20:26:35 +0300 |
commit | fd1391f8920838086b37f76ea647243ec8ca7bf1 (patch) | |
tree | 0ab760bca9853acd9190ff8c3f3cf3fd68b2010b /server/main | |
parent | update benchmark (diff) | |
download | math-server-fd1391f8920838086b37f76ea647243ec8ca7bf1.tar.gz math-server-fd1391f8920838086b37f76ea647243ec8ca7bf1.zip |
fix compiler warning
Diffstat (limited to 'server/main')
-rw-r--r-- | server/main/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |