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: I5763a3249f5c8baba800cf5886cb0df4d6b21e58
diff --git a/include/sensorutils.hpp b/include/sensorutils.hpp
index e404a21..5e88dc4 100644
--- a/include/sensorutils.hpp
+++ b/include/sensorutils.hpp
@@ -76,7 +76,7 @@
sd_bus_unref(bus);
return false;
}
- sdbusplus::bus::bus dbus(bus);
+ sdbusplus::bus_t dbus(bus);
auto mapperCall =
dbus.new_method_call("xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",