From def6fffcf17ac6e5944c6ba5a1622b41db45ff5f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 29 Jan 2023 08:05:40 +0100 Subject: [PATCH] event/Loop: fixup for NO_FINE_TIMER_EVENT --- src/event/Loop.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx index f64b82852..4559332aa 100644 --- a/src/event/Loop.cxx +++ b/src/event/Loop.cxx @@ -157,6 +157,8 @@ EventLoop::Insert(FineTimerEvent &t) noexcept again = true; } +#endif // NO_FINE_TIMER_EVENT + /** * Determines which timeout will happen earlier; either one may be * negative to specify "no timeout at all". @@ -169,8 +171,6 @@ GetEarlierTimeout(Event::Duration a, Event::Duration b) noexcept : b; } -#endif // NO_FINE_TIMER_EVENT - inline Event::Duration EventLoop::HandleTimers() noexcept {