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: Ibc88a5de1e7a11d332410985f29698b24aeae983
diff --git a/src/smbios-ipmi-blobs/handler.cpp b/src/smbios-ipmi-blobs/handler.cpp
index 07542fb..5d1921a 100644
--- a/src/smbios-ipmi-blobs/handler.cpp
+++ b/src/smbios-ipmi-blobs/handler.cpp
@@ -32,15 +32,14 @@
bool syncSmbiosData()
{
bool status = false;
- sdbusplus::bus::bus bus =
- sdbusplus::bus::bus(ipmid_get_sd_bus_connection());
- sdbusplus::message::message method =
+ sdbusplus::bus_t bus = sdbusplus::bus_t(ipmid_get_sd_bus_connection());
+ sdbusplus::message_t method =
bus.new_method_call(mdrV2Service, phosphor::smbios::mdrV2Path,
mdrV2Interface, "AgentSynchronizeData");
try
{
- sdbusplus::message::message reply = bus.call(method);
+ sdbusplus::message_t reply = bus.call(method);
reply.read(status);
}
catch (const sdbusplus::exception_t& e)