refactor from github comments
All checks were successful
Build on RHEL9 / build (push) Successful in 3m23s
Build on RHEL8 / build (push) Successful in 5m21s

This commit is contained in:
2025-12-12 17:26:34 +01:00
parent 5ae1021de9
commit ad642c07a4

View File

@@ -59,7 +59,7 @@ class BitAddress {
return (addr_ == other.addr_ && bitPos_ == other.bitPos_);
}
constexpr bool operator!=(const BitAddress &other) const {
return !(*this == other && bitPos_ == other.bitPos_);
return !(*this == other);
}
};