Fix build break
608ad2cc0e17bf62ff34bae7ceb499816fe13fbb
and
c1a75ebc267a78853fb26a3da8c6b3388e6ee07c
Collided. Fix the build error.
Change-Id: I683ea7a7b21b2297ab93010815b01e04373e1cea
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/redfish-core/include/redfish_oem_routing.hpp b/redfish-core/include/redfish_oem_routing.hpp
index 3133ccb..366ec1e 100644
--- a/redfish-core/include/redfish_oem_routing.hpp
+++ b/redfish-core/include/redfish_oem_routing.hpp
@@ -242,8 +242,8 @@
asyncResp->res.setCompleteRequestHandler(std::bind_front(
query_param::MultiAsyncResp::startMultiFragmentHandle,
- std::make_shared<crow::Request>(req), multiResp, uriFragments,
- uriParams));
+ std::make_shared<crow::Request>(req.copy()), multiResp,
+ uriFragments, uriParams));
}
else
{