From bb39bce40b23db3cfebe25a6069551e3ecff5fa0 Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Mon, 12 Jan 2026 14:31:34 +0000 Subject: [PATCH] style: Fix clang-tidy error (#2901) --- src/util/Channel.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/Channel.hpp b/src/util/Channel.hpp index 7272f9e47..9b6b6c8ed 100644 --- a/src/util/Channel.hpp +++ b/src/util/Channel.hpp @@ -141,7 +141,8 @@ private: asyncSend(D&& data, boost::asio::yield_context yield) requires(std::convertible_to, std::remove_cvref_t>) { - boost::system::error_code ecIn, ecOut; + boost::system::error_code const ecIn; + boost::system::error_code ecOut; shared_->channel().async_send(ecIn, std::forward(data), yield[ecOut]); // Workaround: asio channels bug returns ec=0 on cancel, check isClosed() instead