aboutsummaryrefslogtreecommitdiffstats
path: root/evict.go
diff options
context:
space:
mode:
Diffstat (limited to 'evict.go')
-rw-r--r--evict.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/evict.go b/evict.go
index eff626c..e355a11 100644
--- a/evict.go
+++ b/evict.go
@@ -34,7 +34,7 @@ type evictionPolicy struct {
}
// pushEvict adds a node to the eviction list.
-func pushEvict(node *node, sentinnel *node) {
+func pushEvict(node, sentinnel *node) {
node.EvictPrev = sentinnel
node.EvictNext = node.EvictPrev.EvictNext
node.EvictNext.EvictPrev = node