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: I17807e986cefa6a3d9e757c533ac373035438aed
diff --git a/include/rde/notifier_dbus_handler.hpp b/include/rde/notifier_dbus_handler.hpp
index efcbd86..e90fa71 100644
--- a/include/rde/notifier_dbus_handler.hpp
+++ b/include/rde/notifier_dbus_handler.hpp
@@ -21,7 +21,7 @@
*
* @param bus - bus to attache to.
*/
- explicit CperFileNotifierHandler(sdbusplus::bus::bus& bus);
+ explicit CperFileNotifierHandler(sdbusplus::bus_t& bus);
/**
* @brief Create a DBus object with the provided filePath value.
@@ -31,8 +31,8 @@
void createEntry(const std::string& filePath);
private:
- sdbusplus::bus::bus& bus;
- sdbusplus::server::manager::manager objManager;
+ sdbusplus::bus_t& bus;
+ sdbusplus::server::manager_t objManager;
/**
* @brief A vector to keep track of DBus FilePath objects.