We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40bc0f8 commit 2546b67Copy full SHA for 2546b67
include/interval-tree/interval_tree.hpp
@@ -1129,7 +1129,7 @@ namespace lib_interval_tree
1129
* Be careful to not produce overlapping merge sets when doing recursive insertion, or it will recurse
1130
* endlessly.
1131
*/
1132
- iterator insert_overlap(interval_type const& ival, bool exclusive = false, bool recursive = false)
+ iterator insert_overlap(interval_type const& ival, bool exclusive = false, bool recursive = true)
1133
{
1134
auto iter = overlap_find(ival, exclusive);
1135
if (iter == end())
0 commit comments