We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb3159b commit bb39bceCopy full SHA for bb39bce
src/util/Channel.hpp
@@ -141,7 +141,8 @@ class Channel {
141
asyncSend(D&& data, boost::asio::yield_context yield)
142
requires(std::convertible_to<std::remove_cvref_t<D>, std::remove_cvref_t<T>>)
143
{
144
- boost::system::error_code ecIn, ecOut;
+ boost::system::error_code const ecIn;
145
+ boost::system::error_code ecOut;
146
shared_->channel().async_send(ecIn, std::forward<D>(data), yield[ecOut]);
147
148
// Workaround: asio channels bug returns ec=0 on cancel, check isClosed() instead
0 commit comments