diff options
author | divankov <divankov@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
commit | 5b8d95df2f0cfca4d3f5499a4259aa2050ef1571 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/hash.h | |
parent | cd88d7933255d8690da34c7b1f7427cf2bb3ae23 (diff) | |
download | ydb-5b8d95df2f0cfca4d3f5499a4259aa2050ef1571.tar.gz |
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash.h')
-rw-r--r-- | util/generic/hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/hash.h b/util/generic/hash.h index 07632d686d..e46db21fa9 100644 --- a/util/generic/hash.h +++ b/util/generic/hash.h @@ -743,7 +743,7 @@ public: template <class ForwardIterator> void insert_unique(ForwardIterator f, ForwardIterator l, std::forward_iterator_tag) { difference_type n = std::distance(f, l); - + reserve(num_elements + n); for (; n > 0; --n, ++f) insert_unique_noresize(*f); @@ -752,7 +752,7 @@ public: template <class ForwardIterator> void insert_equal(ForwardIterator f, ForwardIterator l, std::forward_iterator_tag) { difference_type n = std::distance(f, l); - + reserve(num_elements + n); for (; n > 0; --n, ++f) emplace_equal_noresize(*f); |