diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-19 15:34:29 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-19 15:34:29 +0000 |
| commit | 9a2fc6cf4c8b4434ae45170953b77b3239120fea (patch) | |
| tree | a955d0891bea9269d2ff3483127ed100c176bef3 /src/check_builtin.cpp | |
| parent | 8ff788f4fff7504b8b6bca1183a9be98b8765cbc (diff) | |
Serialize errors to make them sortable, deterministic, and generally more control
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index e1b1cd693..6de3b27f2 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -1389,7 +1389,7 @@ gb_internal LoadDirectiveResult check_load_directory_directive(CheckerContext *c } } - gb_sort_array(file_caches.data, file_caches.count, file_cache_sort_cmp); + array_sort(file_caches, file_cache_sort_cmp); } |