From 391e2a5120039f9531d3d1ce8eecb7f0432f6130 Mon Sep 17 00:00:00 2001 From: Tyler Erickson Date: Mon, 3 Feb 2020 19:20:12 -0800 Subject: [PATCH] Removed 'where' clause from merge_sort_proc --- core/sort/sort.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sort/sort.odin b/core/sort/sort.odin index 24ca8fafc..dadb0d309 100644 --- a/core/sort/sort.odin +++ b/core/sort/sort.odin @@ -103,7 +103,7 @@ _log2 :: proc(x: int) -> int { return res; } -merge_sort_proc :: proc(array: $A/[]$T, f: proc(T, T) -> int) where intrinsics.type_is_ordered(T) { +merge_sort_proc :: proc(array: $A/[]$T, f: proc(T, T) -> int) { merge :: proc(a: A, start, mid, end: int, f: proc(T, T) -> int) { s, m := start, mid;