Skip to content

Commit

Permalink
event/TimerList: use FineTimerEvent::GetDue()
Browse files Browse the repository at this point in the history
Avoid accessing the private field from an inner class of the friend
class, because some compilers apparently don't like it (Apple clang).
  • Loading branch information
MaxKellermann committed Jul 23, 2024
1 parent db3173b commit e242891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/TimerList.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
constexpr Event::TimePoint
TimerList::GetDue::operator()(const FineTimerEvent &timer) const noexcept
{
return timer.due;
return timer.GetDue();
}

TimerList::TimerList() = default;
Expand Down

0 comments on commit e242891

Please sign in to comment.