bug fix in SimpleCache.Fetch (really just reverting my change)

This commit is contained in:
Travis 2017-03-02 16:00:34 -06:00
parent bfc0e56dc2
commit a42da68899

View file

@ -397,7 +397,8 @@ type SimpleCache struct {
}
func (s *SimpleCache) Fetch(id uint64) (*Bitmap, bool) {
return s.cache[id]
m, ok := s.cache[id]
return m, ok
}
func (s *SimpleCache) Add(id uint64, b *Bitmap) {