Skip to content

Commit b18dd9b

Browse files
committed
Fixed readme.
1 parent 61e5294 commit b18dd9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ tree.insert({3, 7});
147147
tree.insert({8, 9});
148148
tree.find_all({3, 7}, [](auto iter) /* iter will be const_iterator if tree is const */ {
149149
// will find all intervals that are exactly {3,7} here.
150+
return true; // continue
150151
});
151152
```
152153

@@ -208,6 +209,7 @@ tree.insert({5, 10});
208209
tree.insert({10, 15});
209210
tree.overlap_find_all({5, 5}, [](auto iter) /* iter will be const_iterator if tree is const */ {
210211
// called with {0, 5} and {5, 10} in unspecified order.
212+
return true; // continue
211213
});
212214
```
213215

0 commit comments

Comments
 (0)