AK: Add non-const DistinctNumeric::value() getter

This commit is contained in:
Linus Groh 2022-03-27 12:47:57 +01:00 committed by Andreas Kling
parent 76e85ebbfc
commit 8b2361e362
Notes: sideshowbarker 2024-07-17 16:39:56 +09:00

View file

@ -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