diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-21 21:19:56 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-01-22 11:55:49 +0100 |
commit | 83ab966e790dcf0ecd9a8eddb9521e606080dc98 (patch) | |
tree | 245981a0975910b8d0589d7ce3cc35f3c1bfd7a7 /recipes-qt/qt5/qtwebengine/chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch | |
parent | 217f87c1feea202ce7134e5a0a980beafb1aab32 (diff) | |
download | meta-qt5-83ab966e790dcf0ecd9a8eddb9521e606080dc98.tar.gz |
qtwebengine: Fix build with clang-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch new file mode 100644 index 00000000..f722cb99 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 46f0abc66c1d78c60a0415c5cb46852ef3bfa9bb Mon Sep 17 00:00:00 2001 | ||
2 | From: Nico Weber <thakis@chromium.org> | ||
3 | Date: Sat, 8 Feb 2020 21:26:53 -0500 | ||
4 | Subject: [PATCH] Fix compile error emitted by trunk clang | ||
5 | |||
6 | ../../third_party/perfetto/src/tracing/core/virtual_destructors.cc:33:35: | ||
7 | error: destructor cannot be declared using a type alias | ||
8 | 'perfetto::TracingService::ConsumerEndpoint' (aka | ||
9 | 'perfetto::ConsumerEndpoint') of the class name | ||
10 | TracingService::ConsumerEndpoint::~ConsumerEndpoint() = default; | ||
11 | |||
12 | Bug: chromium:1050372 | ||
13 | Change-Id: Icc1a8cca06b72ee3322924dc0825ebb62086f730 | ||
14 | --- a/chromium/third_party/perfetto/src/tracing/core/virtual_destructors.cc | ||
15 | +++ b/chromium/third_party/perfetto/src/tracing/core/virtual_destructors.cc | ||
16 | @@ -30,8 +30,8 @@ namespace perfetto { | ||
17 | Consumer::~Consumer() = default; | ||
18 | Producer::~Producer() = default; | ||
19 | TracingService::~TracingService() = default; | ||
20 | -TracingService::ConsumerEndpoint::~ConsumerEndpoint() = default; | ||
21 | -TracingService::ProducerEndpoint::~ProducerEndpoint() = default; | ||
22 | +ConsumerEndpoint::~ConsumerEndpoint() = default; | ||
23 | +ProducerEndpoint::~ProducerEndpoint() = default; | ||
24 | SharedMemory::~SharedMemory() = default; | ||
25 | SharedMemory::Factory::~Factory() = default; | ||
26 | SharedMemoryArbiter::~SharedMemoryArbiter() = default; | ||