Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64319f9

Browse files
umenneldeanberris
authored andcommitted
Fix compilation errors with VS2015 (#762)
1 parentdaafa48 commit64319f9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎boost/network/protocol/http/client/connection/async_normal.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include<boost/network/traits/ostream_iterator.hpp>
3131
#include<boost/network/version.hpp>
3232
#include<boost/range/algorithm/transform.hpp>
33+
#include<boost/range/iterator_range.hpp>
3334
#include<boost/throw_exception.hpp>
3435

3536
namespaceboost {
@@ -485,8 +486,10 @@ struct http_async_connection
485486
if (this->is_chunk_encoding && remove_chunk_markers_) {
486487
for (size_t i =0; i <this->partial_parsed.size(); i +=1024) {
487488
auto range =parse_chunk_encoding(boost::make_iterator_range(
488-
this->partial_parsed.data() + i,
489-
this->partial_parsed.data() +
489+
static_cast<typename std::array<typename char_<Tag>::type,1024>::const_iterator>(
490+
this->partial_parsed.data()) + i,
491+
static_cast<typename std::array<typename char_<Tag>::type,1024>::const_iterator>(
492+
this->partial_parsed.data()) +
490493
std::min(i +1024,this->partial_parsed.size())));
491494
body_string.append(boost::begin(range),boost::end(range));
492495
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp