aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/ipmath
diff options
context:
space:
mode:
authorstyopkin <styopkin@yandex-team.ru>2022-02-10 16:50:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:34 +0300
commit25310c26dc7493d994cb01a600e3e799ec519b16 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/ipmath
parentea3c0f3fb903ce5e0877c34a8684cbd9b0da0504 (diff)
downloadydb-25310c26dc7493d994cb01a600e3e799ec519b16.tar.gz
Restoring authorship annotation for <styopkin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/ipmath')
-rw-r--r--library/cpp/ipmath/range_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/ipmath/range_set.cpp b/library/cpp/ipmath/range_set.cpp
index cdbbf13e59..55f42e451d 100644
--- a/library/cpp/ipmath/range_set.cpp
+++ b/library/cpp/ipmath/range_set.cpp
@@ -18,7 +18,7 @@ TIpRangeSet::~TIpRangeSet() = default;
void TIpRangeSet::Add(TIpAddressRange r) {
Y_ENSURE(IsEmpty() || r.Type() == Type(), "Mixing IPv4 and IPv6 ranges is disallowed");
- auto lowerIt = Ranges_.lower_bound(r);
+ auto lowerIt = Ranges_.lower_bound(r);
// still may overlap the last interval in our tree
if (IsEmpty()) {
@@ -72,7 +72,7 @@ TIpRangeSet::TIterator TIpRangeSet::Find(TIpv6Address addr) const {
return End();
}
- auto lowerIt = Ranges_.lower_bound(TIpAddressRange(addr, addr));
+ auto lowerIt = Ranges_.lower_bound(TIpAddressRange(addr, addr));
if (lowerIt == Ranges_.begin()) {
return lowerIt->Contains(addr)