forked from boostorg/beast
Fixes for gcc-4.8
This commit is contained in:
1 parent
abdd89fde8
commit
37461a1c4c
4 files changed
+9
-8
No files matched your search
@@ -247,7 +247,7 @@ private:
|
||||
if(ec)
|
||||
return boost::none;
|
||||
res.set(beast::http::field::content_length, res.body.size());
|
||||
return res;
|
||||
return {std::move(res)};
|
||||
}
|
||||
|
||||
// Return a response to an HTTP HEAD request
|
||||
@@ -270,7 +270,7 @@ private:
|
||||
if(ec)
|
||||
return boost::none;
|
||||
res.set(beast::http::field::content_length, body.size());
|
||||
return res;
|
||||
return {std::move(res)};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user