sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new
alias under bus.
Change-Id: I21baf6b70401d996519b5940d0cd685535475a2f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp
index 0c2d4d9..91b4091 100644
--- a/monitor/tach_sensor.cpp
+++ b/monitor/tach_sensor.cpp
@@ -132,7 +132,7 @@
auto match = getMatchString(util::FAN_SENSOR_VALUE_INTF);
- tachSignal = std::make_unique<sdbusplus::server::match::match>(
+ tachSignal = std::make_unique<sdbusplus::bus::match_t>(
_bus, match.c_str(),
[this](auto& msg) { this->handleTachChange(msg); });
@@ -140,7 +140,7 @@
{
match = getMatchString(_interface);
- targetSignal = std::make_unique<sdbusplus::server::match::match>(
+ targetSignal = std::make_unique<sdbusplus::bus::match_t>(
_bus, match.c_str(),
[this](auto& msg) { this->handleTargetChange(msg); });
}