fix: removed unused assigned

This commit is contained in:
Konstantin Akimov 2024-06-12 15:42:44 +07:00
parent d9e2e47685
commit 9d941aacb9
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -37,7 +37,7 @@ bool CRangesSet::Add(uint64_t value)
if (next != ranges.end()) {
if (next->begin == value + 1) {
new_range.end = next->end;
it = ranges.erase(next);
ranges.erase(next);
}
}
const auto ret = ranges.insert(new_range);