diff options
| author | gingerBill <bill@gingerbill.org> | 2022-01-31 15:56:40 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-01-31 15:56:40 +0000 |
| commit | 2f1aeaf757bce1ebc37bd5e63dfcdfe22685deaf (patch) | |
| tree | f9ae26387d10f620a49c04d0c5fb6e290881945c | |
| parent | 14a17fb36f56731b9c63004cd74f0c7192c4f39b (diff) | |
Remove the unneeded `$`
| -rw-r--r-- | core/slice/sort_private.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/slice/sort_private.odin b/core/slice/sort_private.odin index 05e4d5eed..7abd2f1ce 100644 --- a/core/slice/sort_private.odin +++ b/core/slice/sort_private.odin @@ -13,7 +13,7 @@ Sort_Kind :: enum { } _quick_sort_general :: proc(data: $T/[]$E, a, b, max_depth: int, 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 { + less :: #force_inline proc(a, b: E, call: P) -> bool { when KIND == .Ordered { return a < b } else when KIND == .Less { @@ -179,7 +179,7 @@ _quick_sort_general :: proc(data: $T/[]$E, a, b, max_depth: int, call: $P, $KIND // merge sort _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 { + less :: #force_inline proc(a, b: E, call: P) -> bool { when KIND == .Ordered { return a < b } else when KIND == .Less { |