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: I04bef72cb239f7580f06c7d94f42b314d64cee4d
diff --git a/lpcsnoop/snoop_listen.hpp b/lpcsnoop/snoop_listen.hpp
index 475028f..70e14b4 100644
--- a/lpcsnoop/snoop_listen.hpp
+++ b/lpcsnoop/snoop_listen.hpp
@@ -17,8 +17,8 @@
#include "lpcsnoop/snoop.hpp"
#include <sdbusplus/bus.hpp>
+#include <sdbusplus/bus/match.hpp>
#include <sdbusplus/message.hpp>
-#include <sdbusplus/server.hpp>
namespace lpcsnoop
{
@@ -64,7 +64,7 @@
private:
sdbusplus::bus::bus& bus;
- sdbusplus::server::match::match signal;
+ sdbusplus::bus::match_t signal;
/*
* Default message handler which listens to published messages on snoop