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).
This commit is contained in:
parent
b4374ddb35
commit
4c4a3c8664
|
@ -8,7 +8,7 @@
|
|||
constexpr Event::TimePoint
|
||||
TimerList::GetDue::operator()(const FineTimerEvent &timer) const noexcept
|
||||
{
|
||||
return timer.due;
|
||||
return timer.GetDue();
|
||||
}
|
||||
|
||||
TimerList::TimerList() = default;
|
||||
|
|
Loading…
Reference in New Issue