aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/hash_set.h
diff options
context:
space:
mode:
authorEvgeny Grechnikov <diamondaz@yandex.ru>2022-02-10 16:46:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:20 +0300
commitc73494e681a4e497ae191ada07a55a6bf55885ff (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/hash_set.h
parent6e38f52f898d7c077ddd319800b4014967a5ca76 (diff)
downloadydb-c73494e681a4e497ae191ada07a55a6bf55885ff.tar.gz
Restoring authorship annotation for Evgeny Grechnikov <diamondaz@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash_set.h')
-rw-r--r--util/generic/hash_set.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/hash_set.h b/util/generic/hash_set.h
index 593d24ff51..e8088cf23b 100644
--- a/util/generic/hash_set.h
+++ b/util/generic/hash_set.h
@@ -161,10 +161,10 @@ public:
return std::pair<iterator, bool>(p.first, p.second);
}
template <typename... Args>
- std::pair<iterator, bool> emplace(Args&&... args) {
- std::pair<mutable_iterator, bool> p = rep.emplace_unique(std::forward<Args>(args)...);
- return std::pair<iterator, bool>(p.first, p.second);
- }
+ std::pair<iterator, bool> emplace(Args&&... args) {
+ std::pair<mutable_iterator, bool> p = rep.emplace_unique(std::forward<Args>(args)...);
+ return std::pair<iterator, bool>(p.first, p.second);
+ }
iterator insert(const_iterator, const value_type& obj) { // insert_hint
std::pair<mutable_iterator, bool> p = rep.insert_unique(obj);
@@ -176,10 +176,10 @@ public:
return std::pair<iterator, bool>(p.first, p.second);
}
template <typename... Args>
- std::pair<iterator, bool> emplace_noresize(Args&&... args) {
- std::pair<mutable_iterator, bool> p = rep.emplace_unique_noresize(std::forward<Args>(args)...);
- return std::pair<iterator, bool>(p.first, p.second);
- }
+ std::pair<iterator, bool> emplace_noresize(Args&&... args) {
+ std::pair<mutable_iterator, bool> p = rep.emplace_unique_noresize(std::forward<Args>(args)...);
+ return std::pair<iterator, bool>(p.first, p.second);
+ }
template <class TheObj>
iterator insert_direct(const TheObj& obj, const insert_ctx& ins) {