aboutsummaryrefslogtreecommitdiff
path: root/tools/process_headers.zig
diff options
context:
space:
mode:
authorAli Chraghi <alichraghi@proton.me>2023-05-23 15:33:12 +0330
committerAndrew Kelley <andrew@ziglang.org>2023-05-23 17:55:59 -0700
commit3db3cf77904e664d589287602c14168a7a63f125 (patch)
tree62bec3710d6b806d54718475bf7a3673ba1a67a5 /tools/process_headers.zig
parentbfe02ff61a8861c269524c60668a3969cb053720 (diff)
downloadzig-3db3cf77904e664d589287602c14168a7a63f125.tar.gz
zig-3db3cf77904e664d589287602c14168a7a63f125.zip
std.sort: add pdqsort and heapsort
Diffstat (limited to 'tools/process_headers.zig')
-rw-r--r--tools/process_headers.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig
index a6550a2573..0321c0e0eb 100644
--- a/tools/process_headers.zig
+++ b/tools/process_headers.zig
@@ -460,7 +460,7 @@ pub fn main() !void {
try contents_list.append(contents);
}
}
- std.sort.sort(*Contents, contents_list.items, {}, Contents.hitCountLessThan);
+ std.mem.sort(*Contents, contents_list.items, {}, Contents.hitCountLessThan);
const best_contents = contents_list.popOrNull().?;
if (best_contents.hit_count > 1) {
// worth it to make it generic