summaryrefslogtreecommitdiffstats
path: root/util/generic/hash.h
diff options
context:
space:
mode:
authorosado <[email protected]>2022-02-10 16:49:18 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:18 +0300
commit58cd0b86ed99a72df22479e26a20bc1c1e57e65e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/hash.h
parent3ed175181ceac225ee14e4519492ad2967a7bd73 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash.h')
-rw-r--r--util/generic/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/hash.h b/util/generic/hash.h
index 4e5d4dff433..e46db21fa97 100644
--- a/util/generic/hash.h
+++ b/util/generic/hash.h
@@ -448,7 +448,7 @@ struct _yhashtable_traits {
extern const void* const _yhashtable_empty_data[];
-template <class Value, class Key, class HashFcn, class ExtractKey, class EqualKey, class Alloc>
+template <class Value, class Key, class HashFcn, class ExtractKey, class EqualKey, class Alloc>
class THashTable: private _yhashtable_traits<Value, Key, HashFcn, ExtractKey, EqualKey, Alloc>::base_type {
using traits_type = _yhashtable_traits<Value, Key, HashFcn, ExtractKey, EqualKey, Alloc>;
using base_type = typename traits_type::base_type;
@@ -1421,7 +1421,7 @@ namespace NPrivate {
[[noreturn]] void ThrowKeyNotFoundInHashTableException(const TStringBuf keyRepresentation);
}
-template <class Key, class T, class HashFcn, class EqualKey, class Alloc>
+template <class Key, class T, class HashFcn, class EqualKey, class Alloc>
class THashMap: public TMapOps<THashMap<Key, T, HashFcn, EqualKey, Alloc>> {
private:
using ht = THashTable<std::pair<const Key, T>, Key, HashFcn, TSelect1st, EqualKey, Alloc>;