diff options
author | styopkin <[email protected]> | 2022-02-10 16:50:34 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:34 +0300 |
commit | 25310c26dc7493d994cb01a600e3e799ec519b16 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 | |
parent | ea3c0f3fb903ce5e0877c34a8684cbd9b0da0504 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
-rw-r--r-- | library/cpp/ipmath/range_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/ipmath/range_set.cpp b/library/cpp/ipmath/range_set.cpp index cdbbf13e59d..55f42e451de 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) |