diff --git a/AK/UFixedBigInt.h b/AK/UFixedBigInt.h index 52f02971d3d..cc35324c8e3 100644 --- a/AK/UFixedBigInt.h +++ b/AK/UFixedBigInt.h @@ -135,32 +135,32 @@ public: return m_low || m_high; } template - requires(sizeof(T) >= sizeof(U)) constexpr bool operator==(const T& other) const + requires(sizeof(T) >= sizeof(U)) constexpr bool operator==(const U& other) const { return !m_high && m_low == other; } template - requires(sizeof(T) >= sizeof(U)) constexpr bool operator!=(const T& other) const + requires(sizeof(T) >= sizeof(U)) constexpr bool operator!=(const U& other) const { return m_high || m_low != other; } template - requires(sizeof(T) >= sizeof(U)) constexpr bool operator>(const T& other) const + requires(sizeof(T) >= sizeof(U)) constexpr bool operator>(const U& other) const { return m_high || m_low > other; } template - requires(sizeof(T) >= sizeof(U)) constexpr bool operator<(const T& other) const + requires(sizeof(T) >= sizeof(U)) constexpr bool operator<(const U& other) const { return !m_high && m_low < other; } template - requires(sizeof(T) >= sizeof(U)) constexpr bool operator>=(const T& other) const + requires(sizeof(T) >= sizeof(U)) constexpr bool operator>=(const U& other) const { return *this == other || *this > other; } template - requires(sizeof(T) >= sizeof(U)) constexpr bool operator<=(const T& other) const + requires(sizeof(T) >= sizeof(U)) constexpr bool operator<=(const U& other) const { return *this == other || *this < other; }