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: Icb5f840d3fc92ba893a99efb4f5e12719416fc44
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/oemhandler.cpp b/oemhandler.cpp
index dc9c9f2..cd500ee 100644
--- a/oemhandler.cpp
+++ b/oemhandler.cpp
@@ -189,7 +189,7 @@
*/
int rebootBMC()
{
- sdbusplus::bus::bus bus{ipmid_get_sd_bus_connection()};
+ sdbusplus::bus_t bus{ipmid_get_sd_bus_connection()};
auto service = getService(bus, stateBmcPath, stateBmcIntf);
if (service.empty())
{