aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorprimate <primate@yandex-team.ru>2022-02-10 16:50:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:30 +0300
commit6e1e62cdffc32768898ccdfd24e046d8b929a45b (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library
parent1b3ecf4f5d9886fa884c00b7ff0a5d79207f9b8a (diff)
downloadydb-6e1e62cdffc32768898ccdfd24e046d8b929a45b.tar.gz
Restoring authorship annotation for <primate@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/histogram/adaptive/adaptive_histogram.cpp12
-rw-r--r--library/cpp/messagebus/socket_addr.cpp2
-rw-r--r--library/cpp/messagebus/socket_addr.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/histogram/adaptive/adaptive_histogram.cpp b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
index 55d01a5d9f..cbfc494021 100644
--- a/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+++ b/library/cpp/histogram/adaptive/adaptive_histogram.cpp
@@ -351,9 +351,9 @@ namespace NKiwiAggr {
double TAdaptiveHistogram::CalcUpperBound(double sum) {
Y_VERIFY(sum >= 0, "Sum must be >= 0");
- if (sum == 0.0) {
- return MinValue;
- }
+ if (sum == 0.0) {
+ return MinValue;
+ }
if (Empty()) {
return MaxValue;
}
@@ -392,9 +392,9 @@ namespace NKiwiAggr {
double TAdaptiveHistogram::CalcLowerBound(double sum) {
Y_VERIFY(sum >= 0, "Sum must be >= 0");
- if (sum == 0.0) {
- return MaxValue;
- }
+ if (sum == 0.0) {
+ return MaxValue;
+ }
if (Empty()) {
return MinValue;
}
diff --git a/library/cpp/messagebus/socket_addr.cpp b/library/cpp/messagebus/socket_addr.cpp
index 4e35a641a2..c1b3a28fbe 100644
--- a/library/cpp/messagebus/socket_addr.cpp
+++ b/library/cpp/messagebus/socket_addr.cpp
@@ -14,7 +14,7 @@ using namespace NBus::NPrivate;
static_assert(ADDR_UNSPEC == 0, "expect ADDR_UNSPEC == 0");
NBus::NPrivate::TBusSocketAddr::TBusSocketAddr(const NAddr::IRemoteAddr* addr)
- : IPv6ScopeID(0)
+ : IPv6ScopeID(0)
{
const sockaddr* sa = addr->Addr();
diff --git a/library/cpp/messagebus/socket_addr.h b/library/cpp/messagebus/socket_addr.h
index 31ad5faaef..959eafe689 100644
--- a/library/cpp/messagebus/socket_addr.h
+++ b/library/cpp/messagebus/socket_addr.h
@@ -87,7 +87,7 @@ namespace NBus {
TBusSocketAddr(const NAddr::IRemoteAddr*);
TBusSocketAddr(const TNetAddr&);
TBusSocketAddr(TStringBuf host, unsigned port);
-
+
TNetAddr ToNetAddr() const;
bool operator==(const TBusSocketAddr& that) const {