Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Ritchie committed May 16, 2013
1 parent c48b5e3 commit e165fcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ class AlgebraicMutableCache[K, V](cache: MutableCache[K, V]) {
override def empty = new AlgebraicMutableCache(cache.empty).inject(injection)

override def clear = { cache.clear; this }
override def iterator = cache.iterator.map(injection)
override def iterator = cache.iterator.flatMap(injection.invert(_))
}
}

0 comments on commit e165fcc

Please sign in to comment.