Skip to content

Commit

Permalink
fix #112 (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
barais authored Nov 22, 2024
1 parent 5b6058f commit c7fa163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/s3fifo/ghost.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type ghost[K comparable, V any] struct {

func newGhost[K comparable, V any](main *main[K, V], evictNode func(node.Node[K, V])) *ghost[K, V] {
return &ghost[K, V]{
q: deque.New[uint64](),
q: &deque.Deque[uint64]{},
m: make(map[uint64]struct{}),
main: main,
hasher: maphash.NewHasher[K](),
Expand Down

0 comments on commit c7fa163

Please sign in to comment.