aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/ipv6_address
diff options
context:
space:
mode:
authoranikella <anikella@yandex-team.ru>2022-02-10 16:50:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:52 +0300
commit231c91be009a1fd2d4184c44e24669c4ea7887c5 (patch)
tree606e4c735b4aec1815007d3d34182ed63dd5c8cd /library/cpp/ipv6_address
parentc0a1bd5a47467ef8bf618172a331c90a2e70d71f (diff)
downloadydb-231c91be009a1fd2d4184c44e24669c4ea7887c5.tar.gz
Restoring authorship annotation for <anikella@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/ipv6_address')
-rw-r--r--library/cpp/ipv6_address/ipv6_address.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/ipv6_address/ipv6_address.h b/library/cpp/ipv6_address/ipv6_address.h
index 1d7eb0b65f..44fab1778d 100644
--- a/library/cpp/ipv6_address/ipv6_address.h
+++ b/library/cpp/ipv6_address/ipv6_address.h
@@ -1,6 +1,6 @@
#pragma once
-#include <util/generic/hash_set.h>
+#include <util/generic/hash_set.h>
#include <util/network/ip.h>
#include <util/stream/input.h>
@@ -61,7 +61,7 @@ public:
explicit TIpv6Address(const in_addr& addr);
static TIpv6Address FromString(TStringBuf srcStr, bool& ok) noexcept;
-
+
constexpr bool IsNull() const noexcept {
return Ip == 0;
}
@@ -204,7 +204,7 @@ std::tuple<THostAddressAndPort, TString, TIpPort> ParseHostAndMayBePortFromStrin
bool& Ok) noexcept;
using TIpv6AddressesSet = THashSet<TIpv6Address>;
-
+
template <>
struct THash<TIpv6Address> {
inline size_t operator()(const TIpv6Address& ip) const {