diff options
author | gritukan <gritukan@yandex-team.ru> | 2022-02-10 16:47:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:54 +0300 |
commit | e72b2fbecff9bceacda41e0dde32e742cfb31592 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/yt/small_containers/compact_vector.h | |
parent | 5ab2c1182d0b02a3880e1869c6351b7ba802a19b (diff) | |
download | ydb-e72b2fbecff9bceacda41e0dde32e742cfb31592.tar.gz |
Restoring authorship annotation for <gritukan@yandex-team.ru>. Commit 2 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 a42a1f0751..6c4a0b0e39 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; |