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

Commit39757ee

Browse files
author
glynos
committed
Added typename keyword in order to make the code compile on
1 parentdb3d633 commit39757ee

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

‎boost/network/protocol/http.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
#include<boost/network/protocol/http/response.hpp>
1616
#include<boost/network/protocol/http/client.hpp>
1717

18-
#endif// __NETWORK_PROTOCOL_HTTP_20070908-1_HPP__
18+
#endif// __NETWORK_PROTOCOL_HTTP_20070908-1_HPP__

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace boost { namespace network { namespace http {
6363
<<
6464
header( line.substr(0, line.find(':')) ,
6565
line.find('') == tag::str_type::npos ?
66-
tag::str_type()
66+
typenametag::str_type()
6767
: line.substr(line.find('') +1));
6868
};
6969

‎boost/network/protocol/http/impl/request.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,23 @@ namespace boost { namespace network { namespace http {
107107
{ };
108108

109109
typename tag::str_typeconsthost()const {
110-
return fusion::at_key<tags::host>(uri_parts);
110+
return fusion::at_key<typenametags::host>(uri_parts);
111111
};
112112

113113
unsignedintport()const {
114-
return fusion::at_key<tags::port>(uri_parts);
114+
return fusion::at_key<typenametags::port>(uri_parts);
115115
};
116116

117117
typename tag::str_typeconstpath()const {
118-
return fusion::at_key<tags::path>(uri_parts);
118+
return fusion::at_key<typenametags::path>(uri_parts);
119119
};
120120

121121
typename tag::str_typeconstquery()const {
122-
return fusion::at_key<tags::query>(uri_parts);
122+
return fusion::at_key<typenametags::query>(uri_parts);
123123
};
124124

125125
typename tag::str_typeconstanchor()const {
126-
return fusion::at_key<tags::anchor>(uri_parts);
126+
return fusion::at_key<typenametags::anchor>(uri_parts);
127127
};
128128
};
129129

@@ -133,4 +133,4 @@ namespace boost { namespace network { namespace http {
133133

134134
};// namespace boost
135135

136-
#endif// __NETWORK_PROTOCOL_HTTP_REQUEST_IMPL_20070908_1_HPP__
136+
#endif// __NETWORK_PROTOCOL_HTTP_REQUEST_IMPL_20070908_1_HPP__

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp