Warning, /graphics/krita/3rdparty/ext_googleangle/02-patches_krita/0012-Fix-Clang-MinGW-target-build.patch is written in an unsupported language. File is not indexed.
0001 From aeddd16fcd39e78d8208c78c17f06d24632b7560 Mon Sep 17 00:00:00 2001
0002 From: Alvin Wong <alvinhochun@gmail.com>
0003 Date: Thu, 10 Mar 2022 16:26:23 +0800
0004 Subject: [PATCH 12/17] Fix Clang MinGW target build
0005
0006 ---
0007 src/libANGLE/CLRefPointer.h | 8 ++++----
0008 1 file changed, 4 insertions(+), 4 deletions(-)
0009
0010 diff --git a/src/libANGLE/CLRefPointer.h b/src/libANGLE/CLRefPointer.h
0011 index 6ea46978f..9ec024ac4 100644
0012 --- a/src/libANGLE/CLRefPointer.h
0013 +++ b/src/libANGLE/CLRefPointer.h
0014 @@ -104,25 +104,25 @@ void swap(RefPointer<T> &left, RefPointer<T> &right)
0015 }
0016
0017 template <typename T>
0018 -bool operator==(const RefPointer<T> &ptr, nullptr_t) noexcept
0019 +bool operator==(const RefPointer<T> &ptr, std::nullptr_t) noexcept
0020 {
0021 return ptr.get() == nullptr;
0022 }
0023
0024 template <typename T>
0025 -bool operator==(nullptr_t, const RefPointer<T> &ptr) noexcept
0026 +bool operator==(std::nullptr_t, const RefPointer<T> &ptr) noexcept
0027 {
0028 return ptr.get() == nullptr;
0029 }
0030
0031 template <typename T>
0032 -bool operator!=(const RefPointer<T> &ptr, nullptr_t) noexcept
0033 +bool operator!=(const RefPointer<T> &ptr, std::nullptr_t) noexcept
0034 {
0035 return ptr.get() != nullptr;
0036 }
0037
0038 template <typename T>
0039 -bool operator!=(nullptr_t, const RefPointer<T> &ptr) noexcept
0040 +bool operator!=(std::nullptr_t, const RefPointer<T> &ptr) noexcept
0041 {
0042 return ptr.get() != nullptr;
0043 }
0044 --
0045 2.24.1.windows.2
0046