aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/ipv6_address/ipv6_address.h
diff options
context:
space:
mode:
authorlapshov <lapshov@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit1ef52da9919aaa7ec7e3c51da7fdaa637ab133b7 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/ipv6_address/ipv6_address.h
parent4f36f44b1e216dca1f44ada8d126e7b70f05da2f (diff)
downloadydb-1ef52da9919aaa7ec7e3c51da7fdaa637ab133b7.tar.gz
Restoring authorship annotation for <lapshov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/ipv6_address/ipv6_address.h')
-rw-r--r--library/cpp/ipv6_address/ipv6_address.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/ipv6_address/ipv6_address.h b/library/cpp/ipv6_address/ipv6_address.h
index 6b1b106dfe..1d7eb0b65f 100644
--- a/library/cpp/ipv6_address/ipv6_address.h
+++ b/library/cpp/ipv6_address/ipv6_address.h
@@ -97,21 +97,21 @@ public:
constexpr bool operator<(const TIpv6Address& other) const noexcept {
if (Type_ != other.Type_)
- return Type_ > other.Type_;
- else
- return Ip < other.Ip;
+ return Type_ > other.Type_;
+ else
+ return Ip < other.Ip;
}
constexpr bool operator>(const TIpv6Address& other) const noexcept {
if (Type_ != other.Type_)
- return Type_ < other.Type_;
- else
- return Ip > other.Ip;
+ return Type_ < other.Type_;
+ else
+ return Ip > other.Ip;
}
constexpr bool operator==(const TIpv6Address& other) const noexcept {
- return Type_ == other.Type_ && Ip == other.Ip;
+ return Type_ == other.Type_ && Ip == other.Ip;
}
constexpr bool operator!=(const TIpv6Address& other) const noexcept {
- return Type_ != other.Type_ || Ip != other.Ip;
+ return Type_ != other.Type_ || Ip != other.Ip;
}
constexpr bool operator<=(const TIpv6Address& other) const noexcept {