Skip to content

Commit 9695445

Browse files
committed
fixed compile error
1 parent 1d91ae5 commit 9695445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func Unset(b *Bitmap, rangeStart, rangeEnd uint64) func(func(uint32) bool) {
5252
}
5353

5454
return func(yield func(uint32) bool) {
55-
it := b.UnsetIterator(uint32(rangeStart), uint32(rangeEnd-1))
55+
it := b.UnsetIteratorClosed(uint32(rangeStart), uint32(rangeEnd-1))
5656
for it.HasNext() {
5757
if !yield(it.Next()) {
5858
return

0 commit comments

Comments
 (0)