diff options
author | Evgeny Grechnikov <diamondaz@yandex.ru> | 2022-02-10 16:46:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:20 +0300 |
commit | 6e38f52f898d7c077ddd319800b4014967a5ca76 (patch) | |
tree | f0b2473cfc98506158b8f1d3d387c4f478ade18e /util/generic/hash_set.h | |
parent | bd085aee9b4f7a0bee302ce687964ffb7098f986 (diff) | |
download | ydb-6e38f52f898d7c077ddd319800b4014967a5ca76.tar.gz |
Restoring authorship annotation for Evgeny Grechnikov <diamondaz@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/hash_set.h')
-rw-r--r-- | util/generic/hash_set.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/hash_set.h b/util/generic/hash_set.h index e8088cf23b..593d24ff51 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) { |