diff options
Diffstat (limited to 'server/main/session.cpp')
| -rw-r--r-- | server/main/session.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/server/main/session.cpp b/server/main/session.cpp index 31f37fc..b4b9fc5 100644 --- a/server/main/session.cpp +++ b/server/main/session.cpp @@ -75,7 +75,9 @@ void Session::read() { boost::asio::bind_executor( m_strand, [this, self](const boost::system::error_code& ec, std::size_t bytes) { handle_read(ec, bytes); - })); + } + ) + ); } void Session::handle_read(const boost::system::error_code& ec, std::size_t bytes) { @@ -108,7 +110,9 @@ void Session::write(const std::string& output) { boost::asio::bind_executor( m_strand, [this, self](const boost::system::error_code& ec, std::size_t bytes) { handle_write(ec, bytes); - })); + } + ) + ); } void Session::handle_write(const boost::system::error_code& ec, std::size_t) { |
