mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
AK: Add non-const DistinctNumeric::value() getter
This commit is contained in:
parent
76e85ebbfc
commit
8b2361e362
Notes:
sideshowbarker
2024-07-17 16:39:56 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/8b2361e362 Pull-request: https://github.com/SerenityOS/serenity/pull/13290 Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr const T& value() const { return m_value; }
|
constexpr const T& value() const { return m_value; }
|
||||||
|
constexpr T& value() { return m_value; }
|
||||||
|
|
||||||
// Always implemented: identity.
|
// Always implemented: identity.
|
||||||
constexpr bool operator==(const Self& other) const
|
constexpr bool operator==(const Self& other) const
|
||||||
|
|
Loading…
Reference in a new issue