summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-phosphor/interfaces/bmcweb/0026-Revert-Delete-the-copy-constructor-on-the-Request.patch
blob: 4e525c9a3ae952683478cda27a1137269acaea78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 1503fcc9e5fb8d85cfceb03b38a52a519fb63210 Mon Sep 17 00:00:00 2001
From: P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com>
Date: Tue, 4 Jan 2022 06:49:58 +0530
Subject: [PATCH] Revert "Delete the copy constructor on the Request object"

This commit is reverted to resolve build issues due arising due
to removal of the copy constructor.

This reverts commit 597d2b142362bafa90f24fc8c30750afab91f78f.
---
 http/http_request.hpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/http/http_request.hpp b/http/http_request.hpp
index be1c2a2..be84f18 100644
--- a/http/http_request.hpp
+++ b/http/http_request.hpp
@@ -45,12 +45,6 @@ struct Request
         }
     }
 
-    Request(const Request&) = delete;
-    Request(const Request&&) = delete;
-    Request& operator=(const Request&) = delete;
-    Request& operator=(const Request&&) = delete;
-    ~Request() = default;
-
     boost::beast::http::verb method() const
     {
         return req.method();
-- 
2.25.1