Removed copy and move constructors from AsyncResp
Tested:
- Bmcweb compiles
Change-Id: I233eaa787f73a82a7dbdd1ef569acd5d655f734d
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
diff --git a/include/async_resp.hpp b/include/async_resp.hpp
index 8267c47..ac9db19 100644
--- a/include/async_resp.hpp
+++ b/include/async_resp.hpp
@@ -20,6 +20,9 @@
res(response), func(std::move(function))
{}
+ AsyncResp(const AsyncResp&) = delete;
+ AsyncResp(AsyncResp&&) = delete;
+
~AsyncResp()
{
if (func && res.result() == boost::beast::http::status::ok)