Convert event group to a vector of tuples
In preparation for storing each event group member's property state used
within the event's actions, the group type should be converted to a
vector of tuples. This vector will allow, if user defines, easier use of
different interfaces and properties on the same path to be used within
the same event group.
Tested:
Generated code for groups reflects vector instead of map
Actions against groups remain unchanged
Change-Id: I9f4bb609de424d9004d43524fd04737a50fb2c6f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/zone.cpp b/control/zone.cpp
index 3e06fd0..944da09 100644
--- a/control/zone.cpp
+++ b/control/zone.cpp
@@ -206,8 +206,8 @@
bool hasOwner = false;
try
{
- name = getService(it->first,
- std::get<intfPos>(it->second));
+ name = getService(std::get<pathPos>(*it),
+ std::get<intfPos>(*it));
hasOwner = util::SDBusPlus::callMethodAndRead<bool>(
_bus,
"org.freedesktop.DBus",