control: Extract bus object from config argument pack
All configured objects require a reference to the sdbusplus bus object
except Group objects, so instead of pass the reference twice to the
get the configured objects, extract the bus from the argument pack.
Change-Id: I4859f513863bd62999a9db7610d5955fc8116cb3
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/json/group.hpp b/control/json/group.hpp
index dd5c6a0..ce8d12c 100644
--- a/control/json/group.hpp
+++ b/control/json/group.hpp
@@ -55,8 +55,9 @@
* Parses and populates a configuration group from JSON object data
*
* @param[in] jsonObj - JSON object
+ * @param[in] sdbusplus bus object not used
*/
- Group(const json& jsonObj);
+ Group(const json& jsonObj, sdbusplus::bus::bus&);
/**
* Copy Constructor