mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix a defect in RangeSet.
This commit is contained in:
@@ -217,7 +217,7 @@ void RangeSet::simplify ()
|
||||
if (it->second >= (nit->first - 1))
|
||||
{
|
||||
// ranges overlap
|
||||
it->second = nit->second;
|
||||
it->second = std::max(it->second, nit->second);
|
||||
mRanges.erase (nit);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user