Skip to content

Commit 963a7ef

Browse files
committed
Fixing operator> usage in favor of operator>>
1 parent 6745707 commit 963a7ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,9 @@ namespace boost { namespace network { namespace uri {
8888

8989
qi::rule<iterator, string_type::value_type()> gen_delims = qi::char_(":/?#[]@");
9090
qi::rule<iterator, string_type::value_type()> sub_delims = qi::char_("!$&'()*+,;=");
91-
9291
qi::rule<iterator, string_type::value_type()> reserved = gen_delims | sub_delims;
9392
qi::rule<iterator, string_type::value_type()> unreserved = qi::alnum | qi::char_("-._~");
94-
qi::rule<iterator, string_type()> pct_encoded = qi::char_("%") > qi::repeat(2)[qi::xdigit];
95-
93+
qi::rule<iterator, string_type()> pct_encoded = qi::raw[qi::char_("%") > qi::repeat(2)[qi::xdigit]];
9694
qi::rule<iterator, string_type()> pchar = qi::raw[unreserved | pct_encoded | sub_delims | qi::char_(":@")];
9795

9896
hostname<tags::http_default_8bit_tcp_resolve>::parser<iterator> hostname;

0 commit comments

Comments
 (0)