Fix more moves
This commit is fixing coverity issues reported for copy in stead of
move.
Tested: redfish service validator passes
Change-Id: I97e755830f28390e7c4bfaba6f3f947898a21423
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/http/http_request.hpp b/http/http_request.hpp
index c2778ca..25fd5b3 100644
--- a/http/http_request.hpp
+++ b/http/http_request.hpp
@@ -40,7 +40,7 @@
std::shared_ptr<persistent_data::UserSession> session;
std::string userRole;
- Request(Body reqIn, std::error_code& ec) : req(std::move(reqIn))
+ Request(Body&& reqIn, std::error_code& ec) : req(std::move(reqIn))
{
if (!setUrlInfo())
{