diff options
author | lapshov <lapshov@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
commit | 4f36f44b1e216dca1f44ada8d126e7b70f05da2f (patch) | |
tree | edbdb67ebe4b9195bf7c53bbc0a963fc03ccc17e /library/cpp/ipv6_address/ipv6_address.h | |
parent | 8b71ce88bea710a9663bb143e4916f961c57212e (diff) | |
download | ydb-4f36f44b1e216dca1f44ada8d126e7b70f05da2f.tar.gz |
Restoring authorship annotation for <lapshov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/ipv6_address/ipv6_address.h')
-rw-r--r-- | library/cpp/ipv6_address/ipv6_address.h | 16 |
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 1d7eb0b65f..6b1b106dfe 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 { |