From 4c4a3c8664245950f76922f35d5ba54077852edc 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 e02df0371..355f11fc1 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;