aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp')
-rw-r--r--library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp b/library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp
index cab2365cce..737da8e1e2 100644
--- a/library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp
+++ b/library/cpp/containers/intrusive_avl_tree/ut/avltree_ut.cpp
@@ -59,7 +59,7 @@ void TAvlTreeTest::TestLowerBound() {
TIt it_large(1000);
UNIT_ASSERT_EQUAL(its.LowerBound(&it3), &it3);
UNIT_ASSERT_EQUAL(its.LowerBound(&it_zero), &it5);
- UNIT_ASSERT_EQUAL(its.LowerBound(&it_large), nullptr);
+ UNIT_ASSERT_EQUAL(its.LowerBound(&it_large), nullptr);
}
void TAvlTreeTest::TestIterator() {
@@ -81,7 +81,7 @@ void TAvlTreeTest::TestIterator() {
its.Insert(&it2);
TVector<int> res;
- for (const TIt& i : its) {
+ for (const TIt& i : its) {
res.push_back(i.Val);
}
@@ -89,7 +89,7 @@ void TAvlTreeTest::TestIterator() {
UNIT_ASSERT_EQUAL(res, expected);
res.clear();
- for (TIt& i : its) {
+ for (TIt& i : its) {
res.push_back(i.Val);
}
UNIT_ASSERT_EQUAL(res, expected);