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

Commit48e511e

Browse files
committed
Making the grammar instantiation static to avoid construction/destruction of the grammar on multiple calls to parse_uri.
1 parent411bac0 commit48e511e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ bool parse_uri(Range & range, uri_parts<Tag> & parts) {
247247
iterator start_ =boost::begin(range);
248248
iterator end_ =boost::end(range);
249249

250-
uri_grammar<iterator, Tag> grammar;
250+
staticuri_grammar<iterator, Tag> grammar;
251251

252252
bool ok =qi::parse(start_, end_, grammar, parts);
253253

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp