diff options
Diffstat (limited to 'control/actions.cpp')
-rw-r--r-- | control/actions.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/control/actions.cpp b/control/actions.cpp index 8ecd30c..b162602 100644 --- a/control/actions.cpp +++ b/control/actions.cpp @@ -35,13 +35,10 @@ Action call_actions_based_on_timer(Timer&& tConf, std::vector<Action>&& actions) // Associate event data with timer std::unique_ptr<EventData> eventData = std::make_unique<EventData>( - EventData - { - group, - "", - nullptr, - actions - } + group, + "", + nullptr, + actions ); // Create/start timer and associate event data with it std::unique_ptr<util::Timer> timer = |