mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
style: Fix clang-tidy error (#2901)
This commit is contained in:
@@ -141,7 +141,8 @@ private:
|
||||
asyncSend(D&& data, boost::asio::yield_context yield)
|
||||
requires(std::convertible_to<std::remove_cvref_t<D>, std::remove_cvref_t<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<D>(data), yield[ecOut]);
|
||||
|
||||
// Workaround: asio channels bug returns ec=0 on cancel, check isClosed() instead
|
||||
|
||||
Reference in New Issue
Block a user