Skip to content

Commit 2546b67

Browse files
committed
Made recursive the default for insert_overlap.
1 parent 40bc0f8 commit 2546b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/interval-tree/interval_tree.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ namespace lib_interval_tree
11291129
* Be careful to not produce overlapping merge sets when doing recursive insertion, or it will recurse
11301130
* endlessly.
11311131
*/
1132-
iterator insert_overlap(interval_type const& ival, bool exclusive = false, bool recursive = false)
1132+
iterator insert_overlap(interval_type const& ival, bool exclusive = false, bool recursive = true)
11331133
{
11341134
auto iter = overlap_find(ival, exclusive);
11351135
if (iter == end())

0 commit comments

Comments
 (0)