Fix type error in watermark list handling.

This commit is contained in:
Julius Volz 2013-06-06 18:14:47 +02:00 committed by Julius Volz
parent 6b2be5024e
commit f98853d7b7

View file

@ -119,7 +119,7 @@ func (lru *WatermarkCache) Clear() {
}
func (lru *WatermarkCache) updateInplace(e *list.Element, w *Watermarks) {
e.Value = w
e.Value.(*entry).watermarks = w
lru.moveToFront(e)
lru.checkCapacity()
}