aboutsummaryrefslogtreecommitdiff
path: root/core/container/priority_queue.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/container/priority_queue.odin')
-rw-r--r--core/container/priority_queue.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/container/priority_queue.odin b/core/container/priority_queue.odin
index 8f3f6bb32..f1ceac3a4 100644
--- a/core/container/priority_queue.odin
+++ b/core/container/priority_queue.odin
@@ -1,6 +1,6 @@
package container
-Priority_Queue :: struct(T: typeid) {
+Priority_Queue :: struct($T: typeid) {
data: Array(T),
len: int,
priority: proc(item: T) -> int,