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

Commitfce4924

Browse files
Jeroen Habrakendeanberris
Jeroen Habraken
authored andcommitted
changed from operator > to >> as > throws
1 parent743dd78 commitfce4924

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎boost/network/uri/detail/parse_uri.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace boost { namespace network { namespace uri {
3333
bool ok =qi::parse(
3434
start_, end_,
3535
(
36-
(qi::alpha > *(qi::alnum |qi::char_("+.-")))
36+
(qi::alpha >> *(qi::alnum |qi::char_("+.-")))
3737
>>':'
3838
>>
3939
+(qi::char_ - (qi::cntrl | qi::space))

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ namespace boost { namespace network { namespace uri {
9191

9292
qi::rule<iterator,string_type::value_type()> reserved = gen_delims | sub_delims;
9393
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];
94+
qi::rule<iterator,string_type()> pct_encoded =qi::char_("%") >>qi::repeat(2)[qi::xdigit];
9595

9696
qi::rule<iterator,string_type()> pchar = qi::raw[unreserved | pct_encoded | sub_delims |qi::char_(":@")];
9797

@@ -103,7 +103,7 @@ namespace boost { namespace network { namespace uri {
103103
>> -qi::lexeme[qi::raw[*(unreserved | pct_encoded | sub_delims |qi::char_(":"))] >>'@']
104104
>> hostname
105105
>> -qi::lexeme[':' >> qi::ushort_]
106-
>> -qi::lexeme['/' > qi::raw[*pchar >> *('/' > *pchar)]]
106+
>> -qi::lexeme['/' >> qi::raw[*pchar >> *('/'>> *pchar)]]
107107
>> -qi::lexeme['?' >> qi::raw[*(pchar |qi::char_("/?"))]]
108108
>> -qi::lexeme['#' >> qi::raw[*(pchar |qi::char_("/?"))]]
109109
),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp