aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/hash.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:30 +0300
commit4b839d0704ee9be1dabb0310a1f03af24963637b (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/hash.h
parentf773626848a7c7456803654292e716b83d69cc12 (diff)
downloadydb-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.h8
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>;
};