diff options
author | 2023-04-09 05:39:05 -0700 | |
---|---|---|
committer | 2023-04-09 05:39:05 -0700 | |
commit | 7bd6a1f86d99c1374cb1eb15ff263dc352a8837b (patch) | |
tree | 6b7646d6bf34ca83844f713b3be671dc71a40b37 /src/watcher.zig | |
parent | 1e717dd941090b5c52f36445f3a53d41e1bc7894 (diff) | |
download | bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.gz bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.zst bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.zip |
Remove usages of `void{}` in favor of `{}`
See https://github.com/ziglang/zig/issues/15213
Diffstat (limited to 'src/watcher.zig')
-rw-r--r-- | src/watcher.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watcher.zig b/src/watcher.zig index 0fe05fd48..b993a9a83 100644 --- a/src/watcher.zig +++ b/src/watcher.zig @@ -577,7 +577,7 @@ pub fn NewWatcher(comptime ContextType: type) type { } var all_events = watchevents[0..watch_event_id]; - std.sort.sort(WatchEvent, all_events, void{}, WatchEvent.sortByIndex); + std.sort.sort(WatchEvent, all_events, {}, WatchEvent.sortByIndex); var last_event_index: usize = 0; var last_event_id: INotify.EventListIndex = std.math.maxInt(INotify.EventListIndex); |