diff options
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/compproto/huff.h | 4 | ||||
-rw-r--r-- | library/cpp/ipv6_address/ipv6_address.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/compproto/huff.h b/library/cpp/compproto/huff.h index 7e905caa7f..fa5c139189 100644 --- a/library/cpp/compproto/huff.h +++ b/library/cpp/compproto/huff.h @@ -11,7 +11,7 @@ #include "compressor.h" -namespace NCompProto { +namespace NCompProto { template <size_t CacheSize, typename TEntry> struct TCache { ui32 CacheKey[CacheSize]; @@ -35,7 +35,7 @@ namespace NCompProto { } } }; - + struct TCode { i64 Probability; ui32 Start; diff --git a/library/cpp/ipv6_address/ipv6_address.h b/library/cpp/ipv6_address/ipv6_address.h index 44fab1778d..1d7eb0b65f 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 { |