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: I8e2242adb79be342562c9b7f3d2153dfdf578085
diff --git a/requester/mctp_endpoint_discovery.hpp b/requester/mctp_endpoint_discovery.hpp
index b09a2e9..8f7e7eb 100644
--- a/requester/mctp_endpoint_discovery.hpp
+++ b/requester/mctp_endpoint_discovery.hpp
@@ -23,19 +23,19 @@
* @param[in] bus - reference to systemd bus
* @param[in] fwManager - pointer to the firmware manager
*/
- explicit MctpDiscovery(sdbusplus::bus::bus& bus,
+ explicit MctpDiscovery(sdbusplus::bus_t& bus,
fw_update::Manager* fwManager);
private:
/** @brief reference to the systemd bus */
- sdbusplus::bus::bus& bus;
+ sdbusplus::bus_t& bus;
fw_update::Manager* fwManager;
/** @brief Used to watch for new MCTP endpoints */
sdbusplus::bus::match_t mctpEndpointSignal;
- void dicoverEndpoints(sdbusplus::message::message& msg);
+ void dicoverEndpoints(sdbusplus::message_t& msg);
static constexpr uint8_t mctpTypePLDM = 1;