sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I223d58649a21565678bd7ef78d955b30d3fd6d84
diff --git a/manager/group.hpp b/manager/group.hpp
index 520ba43..aec0e85 100644
--- a/manager/group.hpp
+++ b/manager/group.hpp
@@ -41,8 +41,8 @@
* @param[in] serialize - Serialize object
* @param[in] callBack - Custom callback when LED group is asserted
*/
- Group(sdbusplus::bus::bus& bus, const std::string& objPath,
- Manager& manager, Serialize& serialize,
+ Group(sdbusplus::bus_t& bus, const std::string& objPath, Manager& manager,
+ Serialize& serialize,
std::function<void(Group*, bool)> callBack = nullptr) :
GroupInherit(bus, objPath.c_str(), GroupInherit::action::defer_emit),