forked from glynos/cpp-netlib
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Description
async_normal.hpp
412: if (callback) {
413: // Here we have a body_handler callback. Let's invoke the
414: // callback from here and make sure we're getting more data right
415: // after.
416: typename protocol_base::buffer_type::const_iterator begin =
417: this->part.begin();
418: typename protocol_base::buffer_type::const_iterator end = begin;
419: std::advance(end, bytes_transferred);
420: callback(make_iterator_range(begin, end), ec);
async_normal.hpp(420): note: Reason: cannot convert from 'boost::iterator_rangestd::_Array_const_iterator<_Ty,1024>' to 'const boost::iterator_range<const boost::network::uri::uri::value_type *>'
with
[
_Ty=boost::network::char_boost::network::http::tags::http_async_8bit_udp_resolve,void::type
]
it can't build success, then I try to use cpp-netlib developed and cpp-netlib 0.11.2, it's same error. How to resolve it? Thanks!