- Notifications
You must be signed in to change notification settings - Fork425
Modernize cmake scripts and support MSVC 2017#834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:0.13-release
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
2cb82eccbb10e64a202d3604d50e48bbadb3c777dfFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Visual Studio 2017 cannot decide if it is boost::integral_constant<bool,true> boost::true_typeor boost::spirit::true_typea5252b9
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -49,22 +49,21 @@ namespace http { | ||
| BOOST_NETWORK_INLINE void parse_version( | ||
| std::string const& partial_parsed, | ||
| std::tuple<std::uint8_t, std::uint8_t>& version_pair) { | ||
| boost::spirit::qi::parse(partial_parsed.begin(), partial_parsed.end(), | ||
| (boost::spirit::qi::lit("HTTP/") >> boost::spirit::qi::ushort_ >> '.' >> boost::spirit::qi::ushort_), version_pair); | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Please re-base, as I've just merged a change that addresses this particular issue. | ||
| } | ||
| BOOST_NETWORK_INLINE void parse_headers( | ||
| std::string const& input, std::vector<request_header_narrow>& container) { | ||
| u8_to_u32_iterator<std::string::const_iterator> begin = input.begin(), | ||
| end = input.end(); | ||
| using as_u32_string = boost::spirit::qi::as<boost::spirit::traits::u32_string>; | ||
| boost::spirit::qi::parse(begin, end, | ||
| *(+((boost::spirit::qi::alnum |boost::spirit::qi::punct) - ':') >>boost::spirit::qi::lit(": ") >> | ||
| as_u32_string()[+((boost::spirit::qi::unicode::alnum |boost::spirit::qi::space |boost::spirit::qi::punct) - '\r' - '\n')] >> | ||
| boost::spirit::qi::lit("\r\n")) >> | ||
| boost::spirit::qi::lit("\r\n"), | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Can you separate out this change, (or rebase) to its own pull request? | ||
| container); | ||
| } | ||