diff options
author | 2016-11-07 10:36:40 +0100 | |
---|---|---|
committer | 2016-11-07 10:36:40 +0100 | |
commit | d91005ebc33581ecc076e6760eb2b788fc663a15 (patch) | |
tree | d1e40163afd2b927fe11072a50052192b868a56e | |
parent | f9a5b5176895948290e66ccbc03083b91b3c011e (diff) |
Fixed clear typo in ASIO, sent upstream (nw)
-rw-r--r-- | 3rdparty/asio/include/asio/detail/consuming_buffers.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/detail/consuming_buffers.hpp b/3rdparty/asio/include/asio/detail/consuming_buffers.hpp index e99ca676686..b1d656770fd 100644 --- a/3rdparty/asio/include/asio/detail/consuming_buffers.hpp +++ b/3rdparty/asio/include/asio/detail/consuming_buffers.hpp @@ -101,7 +101,7 @@ public: Buffer_Iterator next = asio::buffer_sequence_begin(buffers_); Buffer_Iterator end = asio::buffer_sequence_end(buffers_); - std::advance(end, next_elem_); + std::advance(next, next_elem_); while (next != end && size > 0) { Buffer next_buf = Buffer(*next) + next_elem_offset_; |