Skip to content

Commit 14bc215

Browse files
committed
Added comment about returned iterator.
1 parent e1b37ff commit 14bc215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/interval-tree/interval_tree.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,7 @@ namespace lib_interval_tree
11261126
* inserted with more overlap searches? If the result is a single interval shall it insert_overlap or insert?
11271127
* Be careful to not produce overlapping merge sets when doing recursive insertion, or it will recurse
11281128
* endlessly.
1129+
* @return An iterator to the inserted or merged interval.
11291130
*/
11301131
iterator insert_overlap(interval_type const& ival, bool exclusive = false, bool recursive = true)
11311132
{

0 commit comments

Comments
 (0)