Commit 4145ed2a authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Fix assertion trying to assign to expression.

It triggers an error in the Android build.
parent c88ded0f
......@@ -40,7 +40,7 @@ namespace detail {
sys::error_code ec;
async_write_c(p, s, tc, y[ec]);
if (tc && !c) ec = asio::error::timed_out;
assert(!c || ec = asio::error::operation_aborted);
assert(!c || ec == asio::error::operation_aborted);
return or_throw(y, ec);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment