From e24289159b0e4f126bbb0c4aa00d0b59d05de293 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Jul 2024 13:37:20 +0200 Subject: [PATCH] event/TimerList: use FineTimerEvent::GetDue() Avoid accessing the private field from an inner class of the friend class, because some compilers apparently don't like it (Apple clang). --- src/event/TimerList.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/TimerList.cxx b/src/event/TimerList.cxx index e02df037..355f11fc 100644 --- a/src/event/TimerList.cxx +++ b/src/event/TimerList.cxx @@ -8,7 +8,7 @@ constexpr Event::TimePoint TimerList::GetDue::operator()(const FineTimerEvent &timer) const noexcept { - return timer.due; + return timer.GetDue(); } TimerList::TimerList() = default;