diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-05-18 18:43:34 +0430 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-18 18:48:15 +0100 |
commit | 5bf37d758cbb878325f77d5ed0799fd7fd17d4b2 (patch) | |
tree | 64189a011c8545c446ffce83f4fdc2dba552a236 /AK | |
parent | 547c7ba57feb1d933e2c549664497688281e1033 (diff) | |
download | serenity-5bf37d758cbb878325f77d5ed0799fd7fd17d4b2.zip |
AK: Let HashMap export its key and value types
Diffstat (limited to 'AK')
-rw-r--r-- | AK/HashMap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AK/HashMap.h b/AK/HashMap.h index dc8f74ac33..ef06025db1 100644 --- a/AK/HashMap.h +++ b/AK/HashMap.h @@ -33,6 +33,9 @@ private: }; public: + using KeyType = K; + using ValueType = V; + HashMap() = default; #ifndef SERENITY_LIBC_BUILD |