From 880e8c45c5621ed8432b74a0cf4f212b9c14aade Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 19:23:10 +0200 Subject: finally, perfect .clang-format settings? --- server/main/session.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'server/main/session.cpp') 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) { -- cgit v1.3