diff options
author | toropov <toropov@yandex-team.ru> | 2022-02-10 16:50:53 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:53 +0300 |
commit | 309225f8699fc260ad3bd69fffa136d853889031 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/ipv6_address | |
parent | 4b0fc373fedd49d8651b5fba2371df503910c126 (diff) | |
download | ydb-309225f8699fc260ad3bd69fffa136d853889031.tar.gz |
Restoring authorship annotation for <toropov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/ipv6_address')
-rw-r--r-- | library/cpp/ipv6_address/ipv6_address.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/ipv6_address/ipv6_address.h b/library/cpp/ipv6_address/ipv6_address.h index 8c47def82d..1d7eb0b65f 100644 --- a/library/cpp/ipv6_address/ipv6_address.h +++ b/library/cpp/ipv6_address/ipv6_address.h @@ -115,13 +115,13 @@ public: } constexpr bool operator<=(const TIpv6Address& other) const noexcept { - return !(*this > other); - } - + return !(*this > other); + } + constexpr bool operator>=(const TIpv6Address& other) const noexcept { - return !(*this < other); - } - + return !(*this < other); + } + constexpr operator ui128() const noexcept { return Ip; } |