summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-86-nearby-explicit.patch
blob: 84709cb080b7f8149a3a199899939cd2a434faed (plain) (tree)
























                                                                                                                                                
From 849e5c6b3a8746d9205102bd3df4e140cead405a Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Sat, 18 Jul 2020 15:11:13 +0000
Subject: [PATCH] GCC: remove explicit from AtomicReference constructor

---
 .../nearby/src/cpp/platform_v2/public/atomic_reference.h        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/third_party/nearby/src/cpp/platform_v2/public/atomic_reference.h b/third_party/nearby/src/cpp/platform_v2/public/atomic_reference.h
index 5742724..bbb8c01 100644
--- a/third_party/nearby/src/cpp/platform_v2/public/atomic_reference.h
+++ b/third_party/nearby/src/cpp/platform_v2/public/atomic_reference.h
@@ -37,7 +37,7 @@ class AtomicReference<T, std::enable_if_t<sizeof(T) <= sizeof(std::uint32_t) &&
     final {
  public:
   using Platform = api::ImplementationPlatform;
-  explicit AtomicReference(T value)
+  AtomicReference(T value)
       : impl_(Platform::CreateAtomicUint32(static_cast<std::uint32_t>(value))) {
   }
   ~AtomicReference() = default;
-- 
2.26.2