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: I86dfa77a53a306b0e868eeb82de30b270704c455
diff --git a/targets.hpp b/targets.hpp
index 51e98a5..a66a15b 100644
--- a/targets.hpp
+++ b/targets.hpp
@@ -160,7 +160,7 @@
}
static constexpr bool deferSignals = true;
- auto& bus = *std::get<sdbusplus::bus::bus*>(info);
+ auto& bus = *std::get<sdbusplus::bus_t*>(info);
// ioAccess->path() is a path like: /sys/class/hwmon/hwmon1
// NOTE: When unit-testing, the target won't have an inject-ible