diff --git a/AK/DistinctNumeric.h b/AK/DistinctNumeric.h index 7fcf62186b7..59c6ad2739a 100644 --- a/AK/DistinctNumeric.h +++ b/AK/DistinctNumeric.h @@ -70,6 +70,10 @@ class DistinctNumeric { using Self = DistinctNumeric; public: + DistinctNumeric() + { + } + DistinctNumeric(T value) : m_value { value } { @@ -292,7 +296,7 @@ public: } private: - T m_value; + T m_value {}; }; // TODO: When 'consteval' sufficiently-well supported by host compilers, try to