sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new
alias under bus.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I023ac2138ffc54b5bf7717ac7f75320f561cc00d
diff --git a/dbusSensor.hpp b/dbusSensor.hpp
index 93e8e17..ba2e15e 100644
--- a/dbusSensor.hpp
+++ b/dbusSensor.hpp
@@ -1,7 +1,7 @@
#include "dbusUtils.hpp"
#include <sdbusplus/bus.hpp>
-#include <sdbusplus/server.hpp>
+#include <sdbusplus/bus/match.hpp>
const char* sensorIntf = "xyz.openbmc_project.Sensor.Value";
@@ -59,5 +59,5 @@
/** @brief service name for the sensor daemon */
std::string servName;
/** @brief signal for sensor value change */
- sdbusplus::server::match::match signal;
+ sdbusplus::bus::match_t signal;
};