chore: remove premature inlines

This commit is contained in:
2022-10-21 05:11:52 -03:00
parent c4c4332485
commit 357211a4cc
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;