Rework time service to fix time passing offline.

This commit is contained in:
Kelebek1 2023-10-29 13:50:55 +00:00
parent e0763174c6
commit 52c35521bd
144 changed files with 8734 additions and 3972 deletions

View file

@ -157,7 +157,7 @@ void CoreTiming::UnscheduleEvent(const std::shared_ptr<EventType>& event_type,
}
}
for (auto h : to_remove) {
for (auto& h : to_remove) {
event_queue.erase(h);
}