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

Commit564642c

Browse files
committed
Fixing operator> usage in favor of operator>>
1 parenta90e34b commit564642c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎boost/network/uri/http/detail/parse_specific.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ namespace boost { namespace network { namespace uri {
104104
qi::rule<iterator,string_type::value_type()> sub_delims =qi::char_("!$&'()*+,;=");
105105
qi::rule<iterator,string_type::value_type()> reserved = gen_delims | sub_delims;
106106
qi::rule<iterator,string_type::value_type()> unreserved = qi::alnum |qi::char_("-._~");
107-
qi::rule<iterator,string_type()> pct_encoded = qi::raw[qi::char_("%") >qi::repeat(2)[qi::xdigit]];
107+
qi::rule<iterator,string_type()> pct_encoded = qi::raw[qi::char_("%") >>qi::repeat(2)[qi::xdigit]];
108108
qi::rule<iterator,string_type()> pchar = qi::raw[unreserved | pct_encoded | sub_delims |qi::char_(":@")];
109109

110110
hostname<tags::http_default_8bit_tcp_resolve>::parser<iterator> hostname;
@@ -115,7 +115,7 @@ namespace boost { namespace network { namespace uri {
115115
>> -qi::lexeme[qi::raw[*(unreserved | pct_encoded | sub_delims |qi::char_(":"))] >>'@']
116116
>> hostname
117117
>> -qi::lexeme[':' >> qi::ushort_]
118-
>> -qi::lexeme['/' >> qi::raw[*pchar >> *('/' > *pchar)]]
118+
>> -qi::lexeme['/' >> qi::raw[*pchar >> *('/' >> *pchar)]]
119119
>> -qi::lexeme['?' >> qi::raw[*(pchar |qi::char_("/?"))]]
120120
>> -qi::lexeme['#' >> qi::raw[*(pchar |qi::char_("/?"))]]
121121
),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp