diff options
| author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-29 13:50:55 +0000 |
|---|---|---|
| committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2024-01-24 04:26:55 +0000 |
| commit | 52c35521bdd8fc66f95ba0c7fc92bd21e1511582 (patch) | |
| tree | 1783055dc2e98eaf9099e8e7b194b55f8f607747 /src/core/core_timing.cpp | |
| parent | e0763174c609affa289f22c0fcbf35e637e2f64e (diff) | |
Rework time service to fix time passing offline.
Diffstat (limited to 'src/core/core_timing.cpp')
| -rw-r--r-- | src/core/core_timing.cpp | 2 |
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); } |
