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

Commit462b008

Browse files
committed
Fixing MSVC errors on unqualified calls to begin() and end().
1 parentcdd6c13 commit462b008

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎boost/network/protocol/http/policies/simple_connection.hpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ namespace boost { namespace network { namespace http {
5555
boost::uint16_t status = response_.status();
5656
if (status >=300 && status <=307) {
5757
typename headers_range<http::basic_response<Tag> >::type location_range =headers(response_)["Location"];
58-
typename range_iterator<typename headers_range<http::basic_request<Tag> >::type>::type location_header =begin(location_range);
59-
if (location_header !=end(location_range)) {
58+
typename range_iterator<typename headers_range<http::basic_request<Tag> >::type>::type location_header =boost::begin(location_range);
59+
if (location_header !=boost::end(location_range)) {
6060
request_.uri(location_header->second);
6161
}elsethrowstd::runtime_error("Location header not defined in redirect response.");
6262
}elsebreak;
@@ -81,7 +81,7 @@ namespace boost { namespace network { namespace http {
8181
, follow_redirect_
8282
, request_.host()
8383
, lexical_cast<string_type>(request_.port())
84-
,bind(
84+
,boost::bind(
8585
&simple_connection_policy<Tag,version_major,version_minor>::resolve,
8686
this,
8787
_1, _2, _3

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp