Skip to content

Commit 89cd805

Browse files
enricodetomadeanberris
authored andcommitted
Fix for compile error with Visual C++ 2017 15.6.4
1 parent bcd9911 commit 89cd805

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ namespace http {
4949
BOOST_NETWORK_INLINE void parse_version(
5050
std::string const& partial_parsed,
5151
std::tuple<std::uint8_t, std::uint8_t>& version_pair) {
52-
using namespace boost::spirit::qi;
53-
parse(partial_parsed.begin(), partial_parsed.end(),
54-
(lit("HTTP/") >> ushort_ >> '.' >> ushort_), version_pair);
52+
boost::spirit::qi::parse(partial_parsed.begin(), partial_parsed.end(),
53+
(boost::spirit::qi::lit("HTTP/") >> boost::spirit::qi::ushort_ >> '.' >> boost::spirit::qi::ushort_), version_pair);
5554
}
5655

5756
BOOST_NETWORK_INLINE void parse_headers(

0 commit comments

Comments
 (0)