From ad642c07a4805ba294d5c4ff5fce8695cacc0360 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 12 Dec 2025 17:26:34 +0100 Subject: [PATCH] refactor from github comments --- slsSupportLib/include/sls/bit_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsSupportLib/include/sls/bit_utils.h b/slsSupportLib/include/sls/bit_utils.h index 213f82d6f..d619c017e 100644 --- a/slsSupportLib/include/sls/bit_utils.h +++ b/slsSupportLib/include/sls/bit_utils.h @@ -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); } };