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: Ic68a12ef7c12222b1300981282161c971b561dc1
diff --git a/session.hpp b/session.hpp
index 69dbc3c..5ddf2f7 100644
--- a/session.hpp
+++ b/session.hpp
@@ -93,7 +93,7 @@
* implementation support at least four simultaneous sessions
*/
-using SessionIface = sdbusplus::server::object::object<
+using SessionIface = sdbusplus::server::object_t<
sdbusplus::xyz::openbmc_project::Ipmi::server::SessionInfo>;
class Session : public SessionIface
@@ -115,7 +115,7 @@
* @param[in] inRemoteConsoleSessID - Remote Console Session ID
* @param[in] priv - Privilege Level requested in the Command
*/
- Session(sdbusplus::bus::bus& bus, const char* path,
+ Session(sdbusplus::bus_t& bus, const char* path,
SessionID inRemoteConsoleSessID, SessionID BMCSessionID,
char priv) :
SessionIface(bus, path)