From 36332d2463cdb98171878ab8c836a875fe3493cc Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 13 Jun 2025 16:36:03 +0200 Subject: Core/Misc: Remove a bunch of code from headers --- src/common/Utilities/EventMap.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/common/Utilities/EventMap.h') diff --git a/src/common/Utilities/EventMap.h b/src/common/Utilities/EventMap.h index 82c466408cd..7d8c006e3bf 100644 --- a/src/common/Utilities/EventMap.h +++ b/src/common/Utilities/EventMap.h @@ -21,7 +21,7 @@ #include "Define.h" #include "Duration.h" #include -#include +#include class TC_COMMON_API EventMap { @@ -37,10 +37,15 @@ class TC_COMMON_API EventMap * - Pattern: 0xPPGGEEEE */ typedef std::multimap EventStore; - typedef std::map> EventSeriesStore; + typedef std::map> EventSeriesStore; public: EventMap() : _time(TimePoint::min()), _phase(0), _lastEvent(0) { } + EventMap(EventMap const& other); + EventMap(EventMap&& other) noexcept = default; + EventMap& operator=(EventMap const& other); + EventMap& operator=(EventMap&& other) noexcept = default; + ~EventMap(); /** * @name Reset @@ -242,7 +247,7 @@ public: * @param phase of the event. * @param timeSeries specifying the times the event should be automatically scheduled after each trigger (first value is initial schedule) */ - void ScheduleEventSeries(uint32 eventId, uint8 group, uint8 phase, std::initializer_list const& timeSeries); + void ScheduleEventSeries(uint32 eventId, uint8 group, uint8 phase, std::initializer_list timeSeries); /** * @name ScheduleEventSeries @@ -250,7 +255,7 @@ public: * @param eventId of the event. * @param timeSeries specifying the times the event should be automatically scheduled after each trigger (first value is initial schedule) */ - void ScheduleEventSeries(uint32 eventId, std::initializer_list const& series); + void ScheduleEventSeries(uint32 eventId, std::initializer_list series); private: /** -- cgit v1.2.3