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: Ieb6587e32446a758676f67d9c868289cc02e50bf
diff --git a/include/ExitAirTempSensor.hpp b/include/ExitAirTempSensor.hpp
index c78253c..5bd9735 100644
--- a/include/ExitAirTempSensor.hpp
+++ b/include/ExitAirTempSensor.hpp
@@ -37,7 +37,7 @@
uint64_t getMaxRpm(uint64_t cfmMax) const;
private:
- std::vector<sdbusplus::bus::match::match> matches;
+ std::vector<sdbusplus::bus::match_t> matches;
boost::container::flat_map<std::string, double> tachReadings;
boost::container::flat_map<std::string, std::pair<double, double>>
tachRanges;
@@ -73,7 +73,7 @@
private:
double lastReading = 0.0;
- std::vector<sdbusplus::bus::match::match> matches;
+ std::vector<sdbusplus::bus::match_t> matches;
double inletTemp = std::numeric_limits<double>::quiet_NaN();
boost::container::flat_map<std::string, double> powerReadings;