fixed reset method on btree plugin

This commit is contained in:
Todd Gruben 2018-06-22 10:05:41 -05:00
parent 643e5e575a
commit 22a546095a

View file

@ -162,6 +162,8 @@ func (btc *BTreeContainers) Size() int {
func (btc *BTreeContainers) Reset() {
btc.tree = TreeNew(cmp)
btc.lastKey = 0
btc.lastContainer = nil
}
func (btc *BTreeContainers) Iterator(key uint64) (citer roaring.ContainerIterator, found bool) {