Use in place init of event data
Change-Id: Ia56acbeaa89423060e65e50eff8accffec5a4631
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
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 @@
// 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 =