aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authoruzhas <uzhas@yandex-team.ru>2022-02-10 16:47:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:07 +0300
commit531b7c7053348b9d4c8ff3832d1b8db5a1918125 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util
parent2002caab389ddffd0e7db4d8c4db835fa4c99f83 (diff)
downloadydb-531b7c7053348b9d4c8ff3832d1b8db5a1918125.tar.gz
Restoring authorship annotation for <uzhas@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/generic/algorithm_ut.cpp8
-rw-r--r--util/network/ip.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/algorithm_ut.cpp b/util/generic/algorithm_ut.cpp
index d89116638d..8d732fcc0c 100644
--- a/util/generic/algorithm_ut.cpp
+++ b/util/generic/algorithm_ut.cpp
@@ -842,9 +842,9 @@ Y_UNIT_TEST_SUITE(TAlgorithm) {
UNIT_ASSERT(Find(v, 1) == v.begin());
UNIT_ASSERT(Find(v, 100) == v.end() - 1);
}
-
- Y_UNIT_TEST(AccumulateWithBinOp) {
- std::vector<int> v = {1, 2, 777};
+
+ Y_UNIT_TEST(AccumulateWithBinOp) {
+ std::vector<int> v = {1, 2, 777};
UNIT_ASSERT_VALUES_EQUAL(TString("begin;1;2;777"), Accumulate(v, TString("begin"), [](auto&& a, auto& b) { return a + ";" + ToString(b); }));
- }
+ }
};
diff --git a/util/network/ip.h b/util/network/ip.h
index f172500899..dc7c2d24a0 100644
--- a/util/network/ip.h
+++ b/util/network/ip.h
@@ -61,7 +61,7 @@ struct TIpAddress: public sockaddr_in {
inline TIpAddress(const sockaddr_in& addr) noexcept
: sockaddr_in(addr)
- , tmp(0)
+ , tmp(0)
{
}
@@ -113,7 +113,7 @@ struct TIpAddress: public sockaddr_in {
return InetToHost(sin_port);
}
-private:
- // required for "operator socklen_t*()"
+private:
+ // required for "operator socklen_t*()"
mutable socklen_t tmp;
};