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
Change-Id: Ifaeaafa5bbe57eb6c15803d63d0a9a176bd42f33
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/dump/dump_utils.hpp b/dump/dump_utils.hpp
index 105884a..a37df2c 100644
--- a/dump/dump_utils.hpp
+++ b/dump/dump_utils.hpp
@@ -58,7 +58,7 @@
*
* @return distinct dbus name for input interface/path
**/
-std::string getService(sdbusplus::bus::bus& bus, const std::string& intf,
+std::string getService(sdbusplus::bus_t& bus, const std::string& intf,
const std::string& path);
/**
@@ -73,8 +73,7 @@
*/
template <typename T>
void setProperty(const std::string& interface, const std::string& propertyName,
- const std::string& path, sdbusplus::bus::bus& bus,
- const T& value)
+ const std::string& path, sdbusplus::bus_t& bus, const T& value)
{
constexpr auto PROPERTY_INTF = "org.freedesktop.DBus.Properties";