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

Commitb16cc29

Browse files
wilxunknown
authored and
unknown
committed
boost\network\protocol\http\server\impl\parsers.ipp: Use intermediate variable to fix compilation.
1 parentd19dd2b commitb16cc29

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎boost/network/protocol/http/server/impl/parsers.ipp‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ namespace boost { namespace network { namespace http {
2424

2525
BOOST_NETWORK_INLINEvoidparse_version(std::stringconst & partial_parsed, fusion::tuple<uint8_t,uint8_t> & version_pair) {
2626
usingnamespaceboost::spirit::qi;
27+
std::string::const_iterator it = partial_parsed.begin();
2728
parse(
28-
partial_parsed.begin(), partial_parsed.end(),
29+
it, partial_parsed.end(),
2930
(
3031
lit("HTTP/")
3132
>> ushort_
@@ -37,8 +38,9 @@ namespace boost { namespace network { namespace http {
3738

3839
BOOST_NETWORK_INLINEvoidparse_headers(std::stringconst & input, std::vector<request_header_narrow> & container) {
3940
usingnamespaceboost::spirit::qi;
41+
std::string::const_iterator it = input.begin();
4042
parse(
41-
input.begin(), input.end(),
43+
it, input.end(),
4244
*(
4345
+(alnum|(punct-':'))
4446
>>lit(":")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp