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: I768b8efcac262ef07cf75f06486c6144c090e91a
diff --git a/manager.hpp b/manager.hpp
index eff9e10..b9a2039 100644
--- a/manager.hpp
+++ b/manager.hpp
@@ -43,7 +43,7 @@
*
* @param[in] bus - the D-Bus bus object
*/
- explicit Manager(sdbusplus::bus::bus& bus);
+ explicit Manager(sdbusplus::bus_t& bus);
private:
using EntryID = uint32_t;
@@ -70,7 +70,7 @@
*
* @param[in] msg - the sdbusplus message
*/
- void interfaceAdded(sdbusplus::message::message& msg);
+ void interfaceAdded(sdbusplus::message_t& msg);
/**
* The callback for an interfaces removed signal
@@ -80,7 +80,7 @@
*
* @param[in] msg - the sdbusplus message
*/
- void interfaceRemoved(sdbusplus::message::message& msg);
+ void interfaceRemoved(sdbusplus::message_t& msg);
/**
* Creates the IBM interfaces for all existing error log
@@ -252,7 +252,7 @@
/**
* The sdbusplus bus object
*/
- sdbusplus::bus::bus& bus;
+ sdbusplus::bus_t& bus;
/**
* The match object for interfacesAdded