diff options
author | styopkin <styopkin@yandex-team.ru> | 2022-02-10 16:50:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:34 +0300 |
commit | ea3c0f3fb903ce5e0877c34a8684cbd9b0da0504 (patch) | |
tree | 0f5d9d78a5fb89b96b6e7758aa6e1166a3e7f954 /library/cpp | |
parent | 2dd8fdb1ffb3a41a06df16a87e9f25f9daf31973 (diff) | |
download | ydb-ea3c0f3fb903ce5e0877c34a8684cbd9b0da0504.tar.gz |
Restoring authorship annotation for <styopkin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-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 55f42e451d..cdbbf13e59 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) |