File tree Expand file tree Collapse file tree 6 files changed +27
-19
lines changed Expand file tree Collapse file tree 6 files changed +27
-19
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ write_impl(
58
58
while (
59
59
p != tmp_end &&
60
60
it != end_);
61
- rv += on_write (boost::span<
62
- buffers::const_buffer const >(
63
- tmp, p - tmp),
61
+ rv += on_write (
62
+ true ,
63
+ boost::span<
64
+ buffers::const_buffer const >(
65
+ tmp, p - tmp),
64
66
it != end_ || more);
65
67
if (rv.ec .failed ())
66
68
return rv;
Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ read_impl(
58
58
while (
59
59
p != tmp_end &&
60
60
it != end_);
61
- rv += on_read (boost::span<
62
- buffers::mutable_buffer const >(
63
- tmp, p - tmp));
61
+ rv += on_read (
62
+ true ,
63
+ boost::span<
64
+ buffers::mutable_buffer const >(
65
+ tmp, p - tmp));
64
66
if (rv.ec .failed ())
65
67
return rv;
66
68
if (rv.finished )
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ struct BOOST_SYMBOL_VISIBLE
192
192
virtual
193
193
results
194
194
on_write (
195
+ bool boost_span_issue_202_workaround,
195
196
boost::span<const buffers::const_buffer> bs,
196
197
bool more);
197
198
@@ -212,13 +213,13 @@ struct BOOST_SYMBOL_VISIBLE
212
213
return on_write (b, more);
213
214
}
214
215
215
- results
216
- write_impl (
217
- boost::span<const buffers::const_buffer> const & bs,
218
- bool more)
219
- {
220
- return on_write (bs, more);
221
- }
216
+ // results
217
+ // write_impl(
218
+ // boost::span<const buffers::const_buffer> const& bs,
219
+ // bool more)
220
+ // {
221
+ // return on_write(bs, more);
222
+ // }
222
223
223
224
template <class T >
224
225
results
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ struct BOOST_SYMBOL_VISIBLE
195
195
virtual
196
196
results
197
197
on_read (
198
+ bool boost_span_issue_202_workaround,
198
199
boost::span<buffers::mutable_buffer const > bs);
199
200
200
201
private:
@@ -205,12 +206,12 @@ struct BOOST_SYMBOL_VISIBLE
205
206
return on_read (b);
206
207
}
207
208
208
- results
209
- read_impl (
210
- boost::span<buffers::mutable_buffer const > const & bs)
211
- {
212
- return on_read (bs);
213
- }
209
+ // results
210
+ // read_impl(
211
+ // boost::span<buffers::mutable_buffer const> const& bs)
212
+ // {
213
+ // return on_read(bs);
214
+ // }
214
215
215
216
template <class T >
216
217
results
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ namespace http_proto {
15
15
auto
16
16
sink::
17
17
on_write (
18
+ bool ,
18
19
boost::span<buffers::const_buffer const > bs,
19
20
bool more) ->
20
21
results
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ namespace http_proto {
16
16
auto
17
17
source::
18
18
on_read (
19
+ bool ,
19
20
boost::span<buffers::mutable_buffer const > bs) ->
20
21
results
21
22
{
You can’t perform that action at this time.
0 commit comments