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: Ibccf347f7016b69f78f74b8debe714b8a0c30ba5
diff --git a/dbus/dbuspassive.hpp b/dbus/dbuspassive.hpp
index 9065a29..346986b 100644
--- a/dbus/dbuspassive.hpp
+++ b/dbus/dbuspassive.hpp
@@ -7,8 +7,8 @@
#include "util.hpp"
#include <sdbusplus/bus.hpp>
+#include <sdbusplus/bus/match.hpp>
#include <sdbusplus/message.hpp>
-#include <sdbusplus/server.hpp>
#include <chrono>
#include <cmath>
@@ -68,7 +68,7 @@
double getMin(void);
private:
- sdbusplus::server::match::match _signal;
+ sdbusplus::bus::match_t _signal;
int64_t _scale;
std::string _id; // for debug identification
std::unique_ptr<DbusHelperInterface> _helper;