summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-18 18:43:34 +0430
committerLinus Groh <mail@linusgroh.de>2021-05-18 18:48:15 +0100
commit5bf37d758cbb878325f77d5ed0799fd7fd17d4b2 (patch)
tree64189a011c8545c446ffce83f4fdc2dba552a236 /AK
parent547c7ba57feb1d933e2c549664497688281e1033 (diff)
downloadserenity-5bf37d758cbb878325f77d5ed0799fd7fd17d4b2.zip
AK: Let HashMap export its key and value types
Diffstat (limited to 'AK')
-rw-r--r--AK/HashMap.h3
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