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/host_state_manager_main.cpp b/host_state_manager_main.cpp
index 13c8f53..484d6e5 100644
--- a/host_state_manager_main.cpp
+++ b/host_state_manager_main.cpp
@@ -61,7 +61,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::Host manager(bus, objPathInst.c_str(), hostId);