aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/hash.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/generic/hash.h
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 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 e46db21fa9..8790b15e1a 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>;
};