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/mdrv2_main.cpp b/src/mdrv2_main.cpp
index 2699571..7ab907a 100644
--- a/src/mdrv2_main.cpp
+++ b/src/mdrv2_main.cpp
@@ -33,9 +33,9 @@
int main(void)
{
- sdbusplus::bus::bus& bus = static_cast<sdbusplus::bus::bus&>(*connection);
- sdbusplus::server::manager::manager objManager(
- bus, "/xyz/openbmc_project/inventory");
+ sdbusplus::bus_t& bus = static_cast<sdbusplus::bus_t&>(*connection);
+ sdbusplus::server::manager_t objManager(bus,
+ "/xyz/openbmc_project/inventory");
bus.request_name("xyz.openbmc_project.Smbios.MDR_V2");