aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/hash_set.h
diff options
context:
space:
mode:
authora-romanov <a-romanov@yandex-team.ru>2022-02-10 16:48:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:11 +0300
commit0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/hash_set.h
parentaa2986a34bde73b2cdcea5080c4443b7cf2ba686 (diff)
downloadydb-0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435.tar.gz
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash_set.h')
-rw-r--r--util/generic/hash_set.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/util/generic/hash_set.h b/util/generic/hash_set.h
index dc9cfda3a9..e8088cf23b 100644
--- a/util/generic/hash_set.h
+++ b/util/generic/hash_set.h
@@ -21,7 +21,7 @@ public:
using value_type = typename ht::value_type;
using hasher = typename ht::hasher;
using key_equal = typename ht::key_equal;
- using allocator_type = typename ht::allocator_type;
+ using allocator_type = typename ht::allocator_type;
using node_allocator_type = typename ht::node_allocator_type;
using size_type = typename ht::size_type;
@@ -35,8 +35,8 @@ public:
using const_iterator = typename ht::const_iterator;
using insert_ctx = typename ht::insert_ctx;
- hasher hash_function() const {
- return rep.hash_function();
+ hasher hash_function() const {
+ return rep.hash_function();
}
key_equal key_eq() const {
return rep.key_eq();
@@ -246,14 +246,14 @@ public:
}
public:
- void reserve(size_type hint) {
- rep.reserve(hint);
+ void reserve(size_type hint) {
+ rep.reserve(hint);
}
size_type bucket_count() const {
return rep.bucket_count();
}
- size_type bucket_size(size_type n) const {
- return rep.bucket_size(n);
+ size_type bucket_size(size_type n) const {
+ return rep.bucket_size(n);
}
node_allocator_type& GetNodeAllocator() {
return rep.GetNodeAllocator();
@@ -289,7 +289,7 @@ public:
using value_type = typename ht::value_type;
using hasher = typename ht::hasher;
using key_equal = typename ht::key_equal;
- using allocator_type = typename ht::allocator_type;
+ using allocator_type = typename ht::allocator_type;
using node_allocator_type = typename ht::node_allocator_type;
using size_type = typename ht::size_type;
@@ -302,8 +302,8 @@ public:
using iterator = typename ht::const_iterator;
using const_iterator = typename ht::const_iterator;
- hasher hash_function() const {
- return rep.hash_function();
+ hasher hash_function() const {
+ return rep.hash_function();
}
key_equal key_eq() const {
return rep.key_eq();
@@ -449,14 +449,14 @@ public:
}
public:
- void reserve(size_type hint) {
- rep.reserve(hint);
+ void reserve(size_type hint) {
+ rep.reserve(hint);
}
size_type bucket_count() const {
return rep.bucket_count();
}
- size_type bucket_size(size_type n) const {
- return rep.bucket_size(n);
+ size_type bucket_size(size_type n) const {
+ return rep.bucket_size(n);
}
node_allocator_type& GetNodeAllocator() {
return rep.GetNodeAllocator();