aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/sort/map.odin3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/sort/map.odin b/core/sort/map.odin
index dff2dced3..32f5e09a2 100644
--- a/core/sort/map.odin
+++ b/core/sort/map.odin
@@ -4,6 +4,9 @@ import "core:intrinsics"
import "core:runtime"
import "core:slice"
+_ :: runtime
+_ :: slice
+
map_entries_by_key :: proc(m: ^$M/map[$K]$V, loc := #caller_location) where intrinsics.type_is_ordered(K) {
Entry :: struct {
hash: uintptr,