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.hpp b/monitor/tach_sensor.hpp
index 27174f5..dc8814f 100644
--- a/monitor/tach_sensor.hpp
+++ b/monitor/tach_sensor.hpp
@@ -4,7 +4,7 @@
#include <phosphor-logging/log.hpp>
#include <sdbusplus/bus.hpp>
-#include <sdbusplus/server.hpp>
+#include <sdbusplus/bus/match.hpp>
#include <sdeventplus/clock.hpp>
#include <sdeventplus/event.hpp>
#include <sdeventplus/utility/timer.hpp>
@@ -491,12 +491,12 @@
/**
* @brief The match object for the Value properties changed signal
*/
- std::unique_ptr<sdbusplus::server::match::match> tachSignal;
+ std::unique_ptr<sdbusplus::bus::match_t> tachSignal;
/**
* @brief The match object for the Target properties changed signal
*/
- std::unique_ptr<sdbusplus::server::match::match> targetSignal;
+ std::unique_ptr<sdbusplus::bus::match_t> targetSignal;
/**
* @brief The number of seconds to wait between a sensor being set