chore: remove premature inlines

This commit is contained in:
2022-01-10 01:24:14 -04:00
parent bbe2ecfa53
commit 0d4c850218
6 changed files with 22 additions and 22 deletions

View File

@@ -84,11 +84,11 @@ pub const Scheduler = struct {
}
}
pub inline fn push(self: *Self, kind: EventKind, end: u64) void {
pub fn push(self: *Self, kind: EventKind, end: u64) void {
self.queue.add(.{ .kind = kind, .tick = end }) catch unreachable;
}
pub inline fn nextTimestamp(self: *Self) u64 {
pub fn nextTimestamp(self: *Self) u64 {
if (self.queue.peek()) |e| {
return e.tick;
} else unreachable;