diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2022-08-02 14:19:02 +0200 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@qt.io> | 2022-08-03 20:43:17 +0000 |
commit | 9353f70aaebce920bd5644e658bae594f2736ea1 (patch) | |
tree | 604f397c51437c7b40af4f19830b9a048b450113 | |
parent | 022d99cafa44f119915c0b98ef40c02fe8a2cc96 (diff) | |
download | qtwebengine-chromium-9353f70aaebce920bd5644e658bae594f2736ea1.tar.gz |
Fixup for [Backport] CVE-2022-2156
It used an inline variable, which requires C++17 to be used, which
Chromium does not do in the 94 branch yet.
Change-Id: If41f078c06e31a42a147ee42f2c115023c6264db
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r-- | chromium/base/memory/raw_ptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/base/memory/raw_ptr.h b/chromium/base/memory/raw_ptr.h index 56f0bd20d5a..4866b5a43f9 100644 --- a/chromium/base/memory/raw_ptr.h +++ b/chromium/base/memory/raw_ptr.h @@ -591,7 +591,7 @@ template <typename T, typename I> struct IsPointer<raw_ptr<T, I>> : std::true_type {}; template <typename T> -inline constexpr bool IsPointerV = IsPointer<T>::value; +constexpr bool IsPointerV = IsPointer<T>::value; template <typename T> struct RemovePointer { |