diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/hash.h | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash.h')
-rw-r--r-- | util/generic/hash.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/hash.h b/util/generic/hash.h index 8790b15e1a..e46db21fa9 100644 --- a/util/generic/hash.h +++ b/util/generic/hash.h @@ -3,7 +3,7 @@ #include "fwd.h" #include "mapfindptr.h" -#include <util/memory/alloc.h> +#include <util/memory/alloc.h> #include <util/system/type_name.h> #include <util/system/yassert.h> #include <util/str_stl.h> @@ -347,7 +347,7 @@ private: * Note that there are no specializations for the case when only one or two * of the functors are empty as this is a case that's just way too rare. */ -template <class HashFcn, class ExtractKey, class EqualKey, class Alloc, bool IsEmpty = std::is_empty<HashFcn>::value&& std::is_empty<ExtractKey>::value&& std::is_empty<EqualKey>::value> +template <class HashFcn, class ExtractKey, class EqualKey, class Alloc, bool IsEmpty = std::is_empty<HashFcn>::value&& std::is_empty<ExtractKey>::value&& std::is_empty<EqualKey>::value> class _yhashtable_base: public _allocator_base<Alloc> { using base_type = _allocator_base<Alloc>; @@ -440,8 +440,8 @@ template <class Value, class Key, class HashFcn, class ExtractKey, class EqualKe struct _yhashtable_traits { using node = __yhashtable_node<Value>; - using node_allocator_type = TReboundAllocator<Alloc, node>; - using nodep_allocator_type = TReboundAllocator<Alloc, node*>; + using node_allocator_type = TReboundAllocator<Alloc, node>; + using nodep_allocator_type = TReboundAllocator<Alloc, node*>; using base_type = _yhashtable_base<HashFcn, ExtractKey, EqualKey, node_allocator_type>; }; |