aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-04 20:26:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-04 20:26:35 +0300
commitfd1391f8920838086b37f76ea647243ec8ca7bf1 (patch)
tree0ab760bca9853acd9190ff8c3f3cf3fd68b2010b
parentupdate benchmark (diff)
downloadmath-server-fd1391f8920838086b37f76ea647243ec8ca7bf1.tar.gz
math-server-fd1391f8920838086b37f76ea647243ec8ca7bf1.zip
fix compiler warning
Diffstat (limited to '')
-rw-r--r--server/main/session.cpp2
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());