remove interface

This commit is contained in:
Matthew Jaffee 2017-12-20 09:02:03 -06:00 • committed by Travis Turner
parent a42a1a2c37
commit be4696ebb9
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ func (slc *SkipListContainers) GetOrCreate(key uint64) *container {
return el.Value().(*container)
}
func (slc *SkipListContainers) Clone() Containers {
func (slc *SkipListContainers) Clone() *SkipListContainers {
nslc := NewSkipListContainers()
for c := slc.list.Front(); c != nil; c = c.Next() {
nslc.list.Set(c.Key(), c.Value().(*container).clone())

View file

@ -98,7 +98,7 @@ type Contiterator interface {
// Bitmap represents a roaring bitmap.
type Bitmap struct {
conts Containers
conts *SkipListContainers
// Number of operations written to the writer.
opN int