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
Change-Id: Ib65d5374951ab754090a72a9535b7ecf83c431e3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/dump/dump_monitor.cpp b/dump/dump_monitor.cpp
index aba424a..6595cf5 100644
--- a/dump/dump_monitor.cpp
+++ b/dump/dump_monitor.cpp
@@ -98,7 +98,7 @@
}
}
-void DumpMonitor::handleDBusSignal(sdbusplus::message::message& msg)
+void DumpMonitor::handleDBusSignal(sdbusplus::message_t& msg)
{
sdbusplus::message::object_path objectPath;
InterfaceMap interfaces;
diff --git a/dump/dump_monitor.hpp b/dump/dump_monitor.hpp
index 0935492..c9c4021 100644
--- a/dump/dump_monitor.hpp
+++ b/dump/dump_monitor.hpp
@@ -66,7 +66,7 @@
* @brief Handles the received DBus signal for dump creation.
* @param[in] msg - The DBus message received.
*/
- void handleDBusSignal(sdbusplus::message::message& msg);
+ void handleDBusSignal(sdbusplus::message_t& msg);
/**
* @brief Checks if the dump creation is in progress.