| commit | b764a15c2389e5f46e3ab2e75481740ec42ba224 | [log] [tgz] |
|---|---|---|
| author | Stephan Hartmann <stha09@googlemail.com> | Thu Sep 29 15:02:38 2022 +0000 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 29 15:02:38 2022 +0000 |
| tree | 54dddfaa3225d4832ee9d7ce3bb51ba01c65d16c | |
| parent | 2af7ab3b168e5239b65858251da93670357a8312 [diff] |
libstdc++: replace bit_set::operator!= in ityp_bitset C++20 removed the operator. Bug: chromium:957519 Change-Id: Iba9c3fcdf4d7d3c4286b5f5dac86304faa6a0c02 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104201 Commit-Queue: Stephan Hartmann <stha09@googlemail.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn/common/ityp_bitset.h b/src/dawn/common/ityp_bitset.h index 0be94a7..a5544e1 100644 --- a/src/dawn/common/ityp_bitset.h +++ b/src/dawn/common/ityp_bitset.h
@@ -58,7 +58,7 @@ } bool operator!=(const bitset& other) const noexcept { - return Base::operator!=(static_cast<const Base&>(other)); + return !Base::operator==(static_cast<const Base&>(other)); } bitset& operator&=(const bitset& other) noexcept {