mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-29 01:24:52 +03:00
Add an assert to try to get more info on #1506
This commit is contained in:
parent
7b96d56996
commit
fbffd86f85
@ -112,6 +112,7 @@ Iterator merge_overlapping(Iterator begin, Iterator end, size_t& main, OverlapsF
|
||||
begin[i] = std::move(begin[j]);
|
||||
}
|
||||
}
|
||||
kak_assert(std::is_sorted(begin, begin + i +1, compare_selections));
|
||||
return begin + i + 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user