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: I9029cc722e7712633c15436bd3868d8c3209f567
diff --git a/control/manager.hpp b/control/manager.hpp
index bb46a41..992a51a 100644
--- a/control/manager.hpp
+++ b/control/manager.hpp
@@ -40,8 +40,7 @@
* @param[in] event - The event loop
* @param[in] mode - The control mode
*/
- Manager(sdbusplus::bus::bus& bus, const sdeventplus::Event& event,
- Mode mode);
+ Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event, Mode mode);
/**
* Does the fan control inititialization, which is
@@ -54,12 +53,12 @@
/**
* The dbus object
*/
- sdbusplus::bus::bus& _bus;
+ sdbusplus::bus_t& _bus;
/**
* The sdbusplus object manager
*/
- sdbusplus::server::manager::manager _objMgr;
+ sdbusplus::server::manager_t _objMgr;
/**
* The fan zones in the system