Fixes for gcc-4.8

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:30 -07:00
parent abdd89fde8
commit 37461a1c4c
4 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -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)};
}
};