From 60b56892cadd01605b55c390aa55dc7d15d11fe2 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 20 Jan 2023 15:32:34 -0500 Subject: [PATCH] AK: Add a type alias for DistinctNumeric's underlying type --- AK/DistinctNumeric.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AK/DistinctNumeric.h b/AK/DistinctNumeric.h index 7cb9f2e42e6..9d3bc3b4bc3 100644 --- a/AK/DistinctNumeric.h +++ b/AK/DistinctNumeric.h @@ -89,6 +89,8 @@ class DistinctNumeric { constexpr static Option options { Opts()... }; public: + using Type = T; + constexpr DistinctNumeric() = default; constexpr DistinctNumeric(T value)