diff options
author | ignat <ignat@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
commit | c8b279dd21ddcb47e755028d81281f113a0f4a11 (patch) | |
tree | 59384fcb7e8e0566cac1ed9738ab30f0b2559b58 /library/cpp/yt/small_containers | |
parent | 2096e85a73bb6b3b20ae25a92943992717fe4167 (diff) | |
download | ydb-c8b279dd21ddcb47e755028d81281f113a0f4a11.tar.gz |
Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/small_containers')
-rw-r--r-- | library/cpp/yt/small_containers/compact_set-inl.h | 4 | ||||
-rw-r--r-- | library/cpp/yt/small_containers/compact_set.h | 4 | ||||
-rw-r--r-- | library/cpp/yt/small_containers/unittests/compact_set_ut.cpp | 4 | ||||
-rw-r--r-- | library/cpp/yt/small_containers/unittests/ya.make | 24 | ||||
-rw-r--r-- | library/cpp/yt/small_containers/ya.make | 36 |
5 files changed, 36 insertions, 36 deletions
diff --git a/library/cpp/yt/small_containers/compact_set-inl.h b/library/cpp/yt/small_containers/compact_set-inl.h index 75b8600175..eee22b2029 100644 --- a/library/cpp/yt/small_containers/compact_set-inl.h +++ b/library/cpp/yt/small_containers/compact_set-inl.h @@ -35,7 +35,7 @@ private: template <class TOther> void ConstructFrom(TOther&& rhs) { - Y_VERIFY_DEBUG(Small == rhs.Small); + Y_VERIFY_DEBUG(Small == rhs.Small); if (Small) { new (&VIter)TVectorConstIterator(std::forward<TOther>(rhs).VIter); @@ -251,7 +251,7 @@ std::pair<typename TCompactSet<T, N, C>::const_iterator, bool> TCompactSet<T, N, Vector.clear(); auto [newIt, inserted] = Set.insert(v); - Y_VERIFY_DEBUG(inserted); + Y_VERIFY_DEBUG(inserted); return {const_iterator(std::move(newIt)), true}; } diff --git a/library/cpp/yt/small_containers/compact_set.h b/library/cpp/yt/small_containers/compact_set.h index 2ca8713ea7..3988311558 100644 --- a/library/cpp/yt/small_containers/compact_set.h +++ b/library/cpp/yt/small_containers/compact_set.h @@ -15,8 +15,8 @@ #include "compact_vector.h" -#include <util/system/yassert.h> - +#include <util/system/yassert.h> + #include <cstddef> #include <iterator> #include <set> diff --git a/library/cpp/yt/small_containers/unittests/compact_set_ut.cpp b/library/cpp/yt/small_containers/unittests/compact_set_ut.cpp index ebab5846e1..4140f882e5 100644 --- a/library/cpp/yt/small_containers/unittests/compact_set_ut.cpp +++ b/library/cpp/yt/small_containers/unittests/compact_set_ut.cpp @@ -12,8 +12,8 @@ #include <library/cpp/yt/small_containers/compact_set.h> -#include <library/cpp/testing/gtest/gtest.h> - +#include <library/cpp/testing/gtest/gtest.h> + #include <string> namespace NYT { diff --git a/library/cpp/yt/small_containers/unittests/ya.make b/library/cpp/yt/small_containers/unittests/ya.make index 6bd8e1d0ec..9a9ec4d542 100644 --- a/library/cpp/yt/small_containers/unittests/ya.make +++ b/library/cpp/yt/small_containers/unittests/ya.make @@ -1,17 +1,17 @@ -GTEST(unittester-small-containers) - -OWNER(g:yt) - -SRCS( +GTEST(unittester-small-containers) + +OWNER(g:yt) + +SRCS( compact_flat_map_ut.cpp compact_heap_ut.cpp compact_set_ut.cpp compact_vector_ut.cpp -) - -PEERDIR( +) + +PEERDIR( library/cpp/yt/small_containers - library/cpp/testing/gtest -) - -END() + library/cpp/testing/gtest +) + +END() diff --git a/library/cpp/yt/small_containers/ya.make b/library/cpp/yt/small_containers/ya.make index d886b2ddac..9e65d64c71 100644 --- a/library/cpp/yt/small_containers/ya.make +++ b/library/cpp/yt/small_containers/ya.make @@ -1,20 +1,20 @@ -LIBRARY() - -PEERDIR( +LIBRARY() + +PEERDIR( library/cpp/yt/assert library/cpp/yt/malloc -) - -CHECK_DEPENDENT_DIRS( - ALLOW_ONLY ALL - build - contrib - library - util -) - -END() - -RECURSE_FOR_TESTS( - unittests -) +) + +CHECK_DEPENDENT_DIRS( + ALLOW_ONLY ALL + build + contrib + library + util +) + +END() + +RECURSE_FOR_TESTS( + unittests +) |