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: I9029cc722e7712633c15436bd3868d8c3209f567
diff --git a/monitor/conditions.cpp b/monitor/conditions.cpp
index 19e9cd8..62e272c 100644
--- a/monitor/conditions.cpp
+++ b/monitor/conditions.cpp
@@ -22,7 +22,7 @@
Condition propertiesMatch(std::vector<PropertyState>&& propStates)
{
- return [pStates = std::move(propStates)](sdbusplus::bus::bus& bus) {
+ return [pStates = std::move(propStates)](sdbusplus::bus_t& bus) {
return std::all_of(
pStates.begin(), pStates.end(), [&bus](const auto& p) {
return util::SDBusPlus::getPropertyVariant<PropertyValue>(