aboutsummaryrefslogtreecommitdiff
path: root/src/watcher.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/watcher.zig')
-rw-r--r--src/watcher.zig2
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);