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 7af4e38 commit 46124ffCopy full SHA for 46124ff
include/interval-tree/interval_tree.hpp
@@ -1128,7 +1128,7 @@ namespace lib_interval_tree
1128
* Be careful to not produce overlapping merge sets when doing recursive insertion, or it will recurse
1129
* endlessly.
1130
*/
1131
- 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)
1132
{
1133
auto iter = overlap_find(ival, exclusive);
1134
if (iter == end())
0 commit comments