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: I9541d521bf67882215a4a66dce020e38ac2df065
diff --git a/occ_status.hpp b/occ_status.hpp
index 224a534..ce3df77 100644
--- a/occ_status.hpp
+++ b/occ_status.hpp
@@ -27,7 +27,7 @@
class Manager;
namespace Base = sdbusplus::org::open_power::OCC::server;
-using Interface = sdbusplus::server::object::object<Base::Status>;
+using Interface = sdbusplus::server::object_t<Base::Status>;
// IPMID's host control application
namespace Control = sdbusplus::org::open_power::Control::server;
@@ -295,7 +295,7 @@
*
* @param[in] msg - Data associated with subscribed signal
*/
- void hostControlEvent(sdbusplus::message::message& msg);
+ void hostControlEvent(sdbusplus::message_t& msg);
/** @brief Sends a message to host control command handler to reset OCC
*/