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 {