From 8b2361e36259336e45e85c3859b3f513d7ddfaba Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 27 Mar 2022 12:47:57 +0100 Subject: [PATCH] AK: Add non-const DistinctNumeric::value() getter --- AK/DistinctNumeric.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AK/DistinctNumeric.h b/AK/DistinctNumeric.h index 308668451e..95ebd53d39 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