From 4c945c995a606db06d87b3577ef8f06ae9cba01d Mon Sep 17 00:00:00 2001 From: TheRadischen Date: Sun, 16 Aug 2026 12:58:23 +0200 Subject: [PATCH] added_back_where --- core/slice/sort_private.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/slice/sort_private.odin b/core/slice/sort_private.odin index f568671a8..1a2a24b5b 100644 --- a/core/slice/sort_private.odin +++ b/core/slice/sort_private.odin @@ -13,7 +13,7 @@ Sort_Kind :: enum { Cmp, } -_stable_sort_general :: proc(data: $T/[]$E, call: $P, $KIND: Sort_Kind) { +_stable_sort_general :: proc(data: $T/[]$E, call: $P, $KIND: Sort_Kind) where (ORD(E) && KIND == .Ordered) || (KIND != .Ordered) #no_bounds_check { less :: #force_inline proc(a, b: E, call: P) -> bool { when KIND == .Ordered { return a < b