Feature: Setting for minutes per calendar year (#11428)

This commit is contained in:
Tyler Trahan
2024-01-23 18:33:54 -05:00
committed by GitHub
parent be8ed26db6
commit 21581b6ab3
15 changed files with 119 additions and 19 deletions

View File

@@ -49,7 +49,7 @@ void TimeoutTimer<TimerWindow>::Elapsed(TimerWindow::TElapsed delta)
}
template<>
void TimerManager<TimerWindow>::Elapsed(TimerWindow::TElapsed delta)
bool TimerManager<TimerWindow>::Elapsed(TimerWindow::TElapsed delta)
{
/* Make a temporary copy of the timers, as a timer's callback might add/remove other timers. */
auto timers = TimerManager<TimerWindow>::GetTimers();
@@ -57,6 +57,8 @@ void TimerManager<TimerWindow>::Elapsed(TimerWindow::TElapsed delta)
for (auto timer : timers) {
timer->Elapsed(delta);
}
return true;
}
#ifdef WITH_ASSERT