event/Loop: fixup for NO_FINE_TIMER_EVENT

This commit is contained in:
Max Kellermann
2023-01-29 08:05:40 +01:00
committed by Max Kellermann
parent 78b13577ef
commit def6fffcf1

View File

@@ -157,6 +157,8 @@ EventLoop::Insert(FineTimerEvent &t) noexcept
again = true; again = true;
} }
#endif // NO_FINE_TIMER_EVENT
/** /**
* Determines which timeout will happen earlier; either one may be * Determines which timeout will happen earlier; either one may be
* negative to specify "no timeout at all". * negative to specify "no timeout at all".
@@ -169,8 +171,6 @@ GetEarlierTimeout(Event::Duration a, Event::Duration b) noexcept
: b; : b;
} }
#endif // NO_FINE_TIMER_EVENT
inline Event::Duration inline Event::Duration
EventLoop::HandleTimers() noexcept EventLoop::HandleTimers() noexcept
{ {