diff --git a/src/dawn/common/ityp_bitset.h b/src/dawn/common/ityp_bitset.h index 0be94a7e72..a5544e15d2 100644 --- a/src/dawn/common/ityp_bitset.h +++ b/src/dawn/common/ityp_bitset.h @@ -58,7 +58,7 @@ class bitset : private std::bitset { } bool operator!=(const bitset& other) const noexcept { - return Base::operator!=(static_cast(other)); + return !Base::operator==(static_cast(other)); } bitset& operator&=(const bitset& other) noexcept {