diff options
author | sabdenovch <sabdenovch@yandex-team.com> | 2023-08-28 18:11:46 +0300 |
---|---|---|
committer | sabdenovch <sabdenovch@yandex-team.com> | 2023-08-28 18:41:07 +0300 |
commit | 4d9954dde66b7a3383ca8cfa5540bf5bfbb19c54 (patch) | |
tree | 89f57348d604223af4893039750d898fd5a8d04e /library/cpp/yt/small_containers | |
parent | 62ef0aa2df21d7c3b1ef231053664f2c81dd2515 (diff) | |
download | ydb-4d9954dde66b7a3383ca8cfa5540bf5bfbb19c54.tar.gz |
Removed the last typedefs in the codebase
removed a lot of typedefs and turned a couple of std::pairs into
something more meaningful
Diffstat (limited to 'library/cpp/yt/small_containers')
-rw-r--r-- | library/cpp/yt/small_containers/unittests/compact_vector_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yt/small_containers/unittests/compact_vector_ut.cpp b/library/cpp/yt/small_containers/unittests/compact_vector_ut.cpp index 1e30c0a532b..715de64dfb9 100644 --- a/library/cpp/yt/small_containers/unittests/compact_vector_ut.cpp +++ b/library/cpp/yt/small_containers/unittests/compact_vector_ut.cpp @@ -205,12 +205,12 @@ protected: }; -typedef ::testing::Types<TCompactVector<Constructable, 0>, +using CompactVectorTestTypes = ::testing::Types<TCompactVector<Constructable, 0>, TCompactVector<Constructable, 1>, TCompactVector<Constructable, 2>, TCompactVector<Constructable, 4>, TCompactVector<Constructable, 5> - > CompactVectorTestTypes; + >; TYPED_TEST_SUITE(CompactVectorTest, CompactVectorTestTypes); // New vector test. @@ -723,7 +723,7 @@ protected: static size_t NumBuiltinElts(const TCompactVector<T, N>&) { return N; } }; -typedef ::testing::Types< +using DualCompactVectorTestTypes = ::testing::Types< // Small mode -> Small mode. std::pair<TCompactVector<Constructable, 4>, TCompactVector<Constructable, 4>>, // Small mode -> Big mode. @@ -732,7 +732,7 @@ typedef ::testing::Types< std::pair<TCompactVector<Constructable, 2>, TCompactVector<Constructable, 4>>, // Big mode -> Big mode. std::pair<TCompactVector<Constructable, 2>, TCompactVector<Constructable, 2>> - > DualCompactVectorTestTypes; + >; TYPED_TEST_SUITE(DualCompactVectorsTest, DualCompactVectorTestTypes); |