Skip to content

Commit 564642c

Browse files
committed
Fixing operator> usage in favor of operator>>
1 parent a90e34b commit 564642c

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)