mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
buffer_adaptors uses the correct begin function.
This commit is contained in:
committed by
Klemens Morgenstern
parent
9d680df683
commit
3869d472ec
@ -195,9 +195,9 @@ buffers_adaptor(
|
||||
std::size_t nout,
|
||||
std::size_t nend)
|
||||
: bs_(other.bs_)
|
||||
, begin_(std::next(bs_.begin(), nbegin))
|
||||
, out_(std::next(bs_.begin(), nout))
|
||||
, end_(std::next(bs_.begin(), nend))
|
||||
, begin_(std::next(net::buffer_sequence_begin(bs_), nbegin))
|
||||
, out_(std::next(net::buffer_sequence_begin(bs_), nout))
|
||||
, end_(std::next(net::buffer_sequence_begin(bs_), nend))
|
||||
, max_size_(other.max_size_)
|
||||
, in_pos_(other.in_pos_)
|
||||
, in_size_(other.in_size_)
|
||||
|
@ -24,6 +24,8 @@
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
|
||||
template class buffers_adaptor<net::mutable_buffer>;
|
||||
|
||||
struct buffers_adaptor_test_hook
|
||||
{
|
||||
template<class MutableBufferSequence>
|
||||
|
Reference in New Issue
Block a user