mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 13:27:33 +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 nout,
|
||||||
std::size_t nend)
|
std::size_t nend)
|
||||||
: bs_(other.bs_)
|
: bs_(other.bs_)
|
||||||
, begin_(std::next(bs_.begin(), nbegin))
|
, begin_(std::next(net::buffer_sequence_begin(bs_), nbegin))
|
||||||
, out_(std::next(bs_.begin(), nout))
|
, out_(std::next(net::buffer_sequence_begin(bs_), nout))
|
||||||
, end_(std::next(bs_.begin(), nend))
|
, end_(std::next(net::buffer_sequence_begin(bs_), nend))
|
||||||
, max_size_(other.max_size_)
|
, max_size_(other.max_size_)
|
||||||
, in_pos_(other.in_pos_)
|
, in_pos_(other.in_pos_)
|
||||||
, in_size_(other.in_size_)
|
, in_size_(other.in_size_)
|
||||||
|
@@ -24,6 +24,8 @@
|
|||||||
namespace boost {
|
namespace boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
|
|
||||||
|
template class buffers_adaptor<net::mutable_buffer>;
|
||||||
|
|
||||||
struct buffers_adaptor_test_hook
|
struct buffers_adaptor_test_hook
|
||||||
{
|
{
|
||||||
template<class MutableBufferSequence>
|
template<class MutableBufferSequence>
|
||||||
|
Reference in New Issue
Block a user