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/scheduled_host_transition_main.cpp b/scheduled_host_transition_main.cpp
index 600ee72..7e02f8d 100644
--- a/scheduled_host_transition_main.cpp
+++ b/scheduled_host_transition_main.cpp
@@ -51,7 +51,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::ScheduledHostTransition manager(
bus, objPathInst.c_str(), hostId, event);