sensor: add missing header for sdbusplus::bus::match
Telemetry doesn't seem to compile with the latest version of sdbusplus
because of a missing header file. Add this in.
Also, recently sdbusplus added short-named aliases for many types, so
switch match::match to just match_t.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4946edfa39db741bab8e30ffd77f03bf59c4d6f3
diff --git a/src/sensor.cpp b/src/sensor.cpp
index f26a964..6e9eae8 100644
--- a/src/sensor.cpp
+++ b/src/sensor.cpp
@@ -132,7 +132,7 @@
sensorId.path +
"',arg0='xyz.openbmc_project.Sensor.Value'"s;
- signalMonitor = std::make_unique<sdbusplus::bus::match::match>(
+ signalMonitor = std::make_unique<sdbusplus::bus::match_t>(
*bus, param,
[weakSelf = weak_from_this()](sdbusplus::message::message& message) {
signalProc(weakSelf, message);