Clear the error faster

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent fc09a4cad1
commit 4d393f4c2a
28 files changed
+117 -116

No files matched your search

@@ -227,7 +227,7 @@ read_some(MutableBufferSequence const& buffers,
}
else
{
ec = {};
ec.assign(0, ec.category());
}
auto bytes_transferred =
buffer_copy(buffers, sb_.data());