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_pass_through.hpp b/occ_pass_through.hpp
index 52a8f71..f11695c 100644
--- a/occ_pass_through.hpp
+++ b/occ_pass_through.hpp
@@ -18,7 +18,7 @@
namespace occ
{
-using Iface = sdbusplus::server::object::object<
+using Iface = sdbusplus::server::object_t<
sdbusplus::org::open_power::OCC::server::PassThrough>;
// For waiting on signals
@@ -107,7 +107,7 @@
*
* @param[in] msg - Data associated with subscribed signal
*/
- void activeStatusEvent(sdbusplus::message::message& msg);
+ void activeStatusEvent(sdbusplus::message_t& msg);
};
} // namespace occ