fixed compiler error on el7 - error: defaulting this default constructor would delete it after its first declaration

epel8
Than Ngo 1 year ago
parent 54f9069a38
commit 18a48bd7aa

@ -0,0 +1,13 @@
diff -up chromium-117.0.5938.62/content/browser/interest_group/header_direct_from_seller_signals.cc.me chromium-117.0.5938.62/content/browser/interest_group/header_direct_from_seller_signals.cc
--- chromium-117.0.5938.62/content/browser/interest_group/header_direct_from_seller_signals.cc.me 2023-09-16 09:43:41.717545215 +0200
+++ chromium-117.0.5938.62/content/browser/interest_group/header_direct_from_seller_signals.cc 2023-09-16 09:48:07.319539585 +0200
@@ -187,7 +187,8 @@ void OnJsonDecoded(std::unique_ptr<const
} // namespace
-HeaderDirectFromSellerSignals::HeaderDirectFromSellerSignals() = default;
+HeaderDirectFromSellerSignals::HeaderDirectFromSellerSignals() :
+ seller_signals_(absl::nullopt), auction_signals_(absl::nullopt) { }
HeaderDirectFromSellerSignals::~HeaderDirectFromSellerSignals() = default;

@ -325,6 +325,7 @@ Patch107: chromium-99.0.4844.51-el7-extra-operator.patch
Patch109: chromium-114-wireless-el7.patch Patch109: chromium-114-wireless-el7.patch
Patch110: chromium-115-buildflag-el7.patch Patch110: chromium-115-buildflag-el7.patch
Patch111: chromium-116-constexpr.patch Patch111: chromium-116-constexpr.patch
Patch112: chromium-117-el7-default_constructor.patch
# system ffmpeg # system ffmpeg
Patch114: chromium-107-ffmpeg-duration.patch Patch114: chromium-107-ffmpeg-duration.patch
@ -941,6 +942,7 @@ udev.
%patch -P109 -p1 -b .wireless %patch -P109 -p1 -b .wireless
%patch -P110 -p1 -b .buildflag-el7 %patch -P110 -p1 -b .buildflag-el7
%patch -P111 -p1 -b .constexpr %patch -P111 -p1 -b .constexpr
%patch -P112 -p1 -b .default_constructor
%endif %endif
%if 0%{?rhel} == 9 %if 0%{?rhel} == 9

Loading…
Cancel
Save