diff options
author | Krzysztof Grobelny <krzysztof.grobelny@intel.com> | 2021-04-02 16:28:14 +0300 |
---|---|---|
committer | Krzysztof Grobelny <krzysztof.grobelny@intel.com> | 2021-04-06 09:54:03 +0300 |
commit | dab0604af234bdd5010407031a01343d6c242edf (patch) | |
tree | e5c170c52d53b555dd67d4cf57107e7b6eb9aa0c /redfish-core/include | |
parent | 8401529e4fb52caa1725caaa4777536f541d10e8 (diff) | |
download | bmcweb-dab0604af234bdd5010407031a01343d6c242edf.tar.xz |
Removed copy and move constructors from AsyncResp
Tested:
- Bmcweb compiles
Change-Id: I233eaa787f73a82a7dbdd1ef569acd5d655f734d
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
Diffstat (limited to 'redfish-core/include')
-rw-r--r-- | redfish-core/include/rf_async_resp.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/redfish-core/include/rf_async_resp.hpp b/redfish-core/include/rf_async_resp.hpp index 27625d5d17..b6dacc7b59 100644 --- a/redfish-core/include/rf_async_resp.hpp +++ b/redfish-core/include/rf_async_resp.hpp @@ -15,6 +15,9 @@ class AsyncResp AsyncResp(crow::Response& response) : res(response) {} + AsyncResp(const AsyncResp&) = delete; + AsyncResp(AsyncResp&&) = delete; + ~AsyncResp() { res.end(); @@ -23,4 +26,4 @@ class AsyncResp crow::Response& res; }; -} // namespace redfish
\ No newline at end of file +} // namespace redfish |