aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_timing.cpp
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-10-29 13:50:55 +0000
committerKelebek1 <eeeedddccc@hotmail.co.uk>2024-01-24 04:26:55 +0000
commit52c35521bdd8fc66f95ba0c7fc92bd21e1511582 (patch)
tree1783055dc2e98eaf9099e8e7b194b55f8f607747 /src/core/core_timing.cpp
parente0763174c609affa289f22c0fcbf35e637e2f64e (diff)
Rework time service to fix time passing offline.
Diffstat (limited to 'src/core/core_timing.cpp')
-rw-r--r--src/core/core_timing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index fc536413b7..1abfa920c4 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -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);
}