summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/priority_queue/interface.go')
-rw-r--r--pkg/priority_queue/interface.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/priority_queue/interface.go b/pkg/priority_queue/interface.go
index 8278dc8d..1efebf1c 100644
--- a/pkg/priority_queue/interface.go
+++ b/pkg/priority_queue/interface.go
@@ -2,7 +2,7 @@ package priorityqueue
type Queue interface {
Insert(item Item)
- GetMax() Item
+ ExtractMin() Item
Len() uint64
}