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: I41103c892db258a85640aa1442acd9a295c8a847
diff --git a/chassis_state_manager_main.cpp b/chassis_state_manager_main.cpp
index c1dccf7..96542b9 100644
--- a/chassis_state_manager_main.cpp
+++ b/chassis_state_manager_main.cpp
@@ -69,7 +69,7 @@
}
// Add sdbusplus ObjectManager.
- sdbusplus::server::manager::manager objManager(bus, objPathInst.c_str());
+ sdbusplus::server::manager_t objManager(bus, objPathInst.c_str());
phosphor::state::manager::Chassis manager(bus, objPathInst.c_str(),
chassisId);