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_manager.hpp b/occ_manager.hpp
index d0b01b3..a713507 100644
--- a/occ_manager.hpp
+++ b/occ_manager.hpp
@@ -171,7 +171,7 @@
*
* @returns 0 to indicate success
*/
- int cpuCreated(sdbusplus::message::message& msg);
+ int cpuCreated(sdbusplus::message_t& msg);
/** @brief Create child OCC objects.
*
@@ -427,7 +427,7 @@
*
* @param[in] msg - Data associated with subscribed signal
*/
- void ambientCallback(sdbusplus::message::message& msg);
+ void ambientCallback(sdbusplus::message_t& msg);
/** @brief Confirm that a single OCC master was found and start presence
* monitoring