Fix compile errors under Clang 3.4

fixes #2030
closes #2031
This commit is contained in:
Richard Hodges
2020-07-24 13:59:49 +02:00
parent 4f913cab63
commit 2efb729c53
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ class basic_parser
{
boost::optional<std::uint64_t>
body_limit_ =
default_body_limit(is_request{}); // max payload body
boost::optional<std::uint64_t>(
default_body_limit(is_request{})); // max payload body
std::uint64_t len_ = 0; // size of chunk or body
std::uint64_t len0_ = 0; // content length if known
std::unique_ptr<char[]> buf_; // temp storage