File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
protocol/http/server/impl Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ namespace boost { namespace network { namespace http {
24
24
25
25
BOOST_NETWORK_INLINE void parse_version (std::string const & partial_parsed, fusion::tuple<uint8_t ,uint8_t > & version_pair) {
26
26
using namespace boost ::spirit::qi;
27
- std::string::const_iterator it = partial_parsed.begin ();
28
27
parse (
29
- it , partial_parsed.end (),
28
+ partial_parsed. begin () , partial_parsed.end (),
30
29
(
31
30
lit (" HTTP/" )
32
31
>> ushort_
@@ -38,9 +37,8 @@ namespace boost { namespace network { namespace http {
38
37
39
38
BOOST_NETWORK_INLINE void parse_headers (std::string const & input, std::vector<request_header_narrow> & container) {
40
39
using namespace boost ::spirit::qi;
41
- std::string::const_iterator it = input.begin ();
42
40
parse (
43
- it , input.end (),
41
+ input. begin () , input.end (),
44
42
*(
45
43
+(alnum|(punct-' :' ))
46
44
>> lit (" : " )
Original file line number Diff line number Diff line change @@ -23,4 +23,4 @@ namespace boost { namespace network {
23
23
24
24
} // namespace boost
25
25
26
- #endif // BOOST_NETWORK_SUPPORT_IS_TCP_HPP_20100622
26
+ #endif // BOOST_NETWORK_SUPPORT_IS_TCP_HPP_20100622
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ namespace boost { namespace network {
24
24
25
25
} // namespace boost
26
26
27
- #endif // BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
27
+ #endif // BOOST_NETWORK_SUPPORT_IS_UDP_HPP_20100622
You can’t perform that action at this time.
0 commit comments