aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/main/session.cpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 19:23:10 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 19:23:10 +0200
commit880e8c45c5621ed8432b74a0cf4f212b9c14aade (patch)
treeaa13bb1cc8d64db07b51c859b3277f1cdc855876 /server/main/session.cpp
parentget rid of functionality removed in newer Boost (diff)
downloadmath-server-880e8c45c5621ed8432b74a0cf4f212b9c14aade.tar.gz
math-server-880e8c45c5621ed8432b74a0cf4f212b9c14aade.zip
finally, perfect .clang-format settings?
Diffstat (limited to '')
-rw-r--r--server/main/session.cpp8
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) {