diff --git a/AK/DistinctNumeric.h b/AK/DistinctNumeric.h index 308668451eb..95ebd53d39e 100644 --- a/AK/DistinctNumeric.h +++ b/AK/DistinctNumeric.h @@ -60,6 +60,7 @@ public: } constexpr const T& value() const { return m_value; } + constexpr T& value() { return m_value; } // Always implemented: identity. constexpr bool operator==(const Self& other) const