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: * exception_t * manager_t * match * match_rules * message_t * object_t * slot_t Change-Id: I993295382740f09f2ffa4713cbdd84b5137116d5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/fw-update/systemd_interface.hpp b/fw-update/systemd_interface.hpp index 6214201..945e340 100644 --- a/fw-update/systemd_interface.hpp +++ b/fw-update/systemd_interface.hpp
@@ -18,7 +18,7 @@ namespace pldm::fw_update { -namespace sdbusRule = sdbusplus::bus::match::rules; +namespace sdbusRule = sdbusplus::match_rules; /** @brief Escapes a string so that it is valid inside a systemd unit name. * @@ -140,7 +140,7 @@ sdbusplus::bus_t& bus; - sdbusplus::bus::match_t systemdSignals; + sdbusplus::match systemdSignals; std::map<sdbusplus::object_path, TaskCallback> taskCallbacks;