diff options
author | gritukan <gritukan@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:53 +0300 |
commit | 5ab2c1182d0b02a3880e1869c6351b7ba802a19b (patch) | |
tree | f1d99c4a9a7e3f3c2ed90004db7cd7dc8502c2ce /library/cpp/yt/small_containers/compact_vector.h | |
parent | 2a4a975b112fa0fa138abc7457fe67e0e1e7fd02 (diff) | |
download | ydb-5ab2c1182d0b02a3880e1869c6351b7ba802a19b.tar.gz |
Restoring authorship annotation for <gritukan@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/small_containers/compact_vector.h')
-rw-r--r-- | library/cpp/yt/small_containers/compact_vector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/small_containers/compact_vector.h b/library/cpp/yt/small_containers/compact_vector.h index 6c4a0b0e39..a42a1f0751 100644 --- a/library/cpp/yt/small_containers/compact_vector.h +++ b/library/cpp/yt/small_containers/compact_vector.h @@ -60,7 +60,7 @@ public: TCompactVector(const TCompactVector& other); template <size_t OtherN> TCompactVector(const TCompactVector<T, OtherN>& other); - TCompactVector(TCompactVector&& other) noexcept(std::is_nothrow_move_constructible_v<T>); + TCompactVector(TCompactVector&& other) noexcept(std::is_nothrow_move_constructible_v<T>); template <size_t OtherN> TCompactVector(TCompactVector<T, OtherN>&& other); explicit TCompactVector(size_type count); @@ -144,8 +144,8 @@ public: iterator insert(const_iterator pos, TIterator first, TIterator last); iterator insert(const_iterator pos, std::initializer_list<T> list); - void shrink_to_small(); - + void shrink_to_small(); + private: template <class OtherT, size_t OtherN> friend class TCompactVector; |