Skip to content

Commit a5598f2

Browse files
committed
Closes #7 -- uses the rule alias to avoid copying.
1 parent 910bd1a commit a5598f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boost/network/uri/detail/parse_uri.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,13 @@ namespace boost { namespace network { namespace uri {
188188
)
189189
);
190190

191-
start %= uri;
192191
uri %=
193192
scheme >> ':'
194193
>> hier_part
195194
>> -('?' >> query)
196195
>> -('#' >> fragment);
196+
197+
start %= uri.alias();
197198
}
198199

199200
typedef typename string<Tag>::type string_type;

0 commit comments

Comments
 (0)