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: Ia4a058e8fc6a63c01f1cb40912a89d9ca24d4631
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/threshold_event_monitor.hpp b/include/threshold_event_monitor.hpp
index ba2a20b..423f8ff 100644
--- a/include/threshold_event_monitor.hpp
+++ b/include/threshold_event_monitor.hpp
@@ -311,7 +311,7 @@
}
if (eventType != eventNone)
{
- sdbusplus::message::message AddToLog = conn->new_method_call(
+ sdbusplus::message_t AddToLog = conn->new_method_call(
"xyz.openbmc_project.Logging", "/xyz/openbmc_project/logging",
"xyz.openbmc_project.Logging.Create", "Create");
AddToLog.append(journalMsg, LogLevel,