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: I9029cc722e7712633c15436bd3868d8c3209f567
diff --git a/presence/tach.hpp b/presence/tach.hpp
index 8fd9a08..db8efa2 100644
--- a/presence/tach.hpp
+++ b/presence/tach.hpp
@@ -100,11 +100,11 @@
* @param[in] sensor - The sensor that changed.
* @param[in] msg - The sdbusplus signal message.
*/
- void propertiesChanged(size_t sensor, sdbusplus::message::message& msg);
+ void propertiesChanged(size_t sensor, sdbusplus::message_t& msg);
/** @brief array of tach sensors dbus matches, and tach values. */
- std::vector<std::tuple<
- std::string, std::unique_ptr<sdbusplus::bus::match::match>, double>>
+ std::vector<std::tuple<std::string,
+ std::unique_ptr<sdbusplus::bus::match_t>, double>>
state;
/** The current state of the sensor. */