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: I14700948f3db1a84eba7d74aead41a8fb75e3dfe
diff --git a/json-config.hpp b/json-config.hpp
index 9fb8ee1..4a07175 100644
--- a/json-config.hpp
+++ b/json-config.hpp
@@ -37,7 +37,7 @@
JsonConfig(sdbusplus::bus::bus& bus, sdeventplus::Event& event) :
event(event)
{
- match = std::make_unique<sdbusplus::server::match::match>(
+ match = std::make_unique<sdbusplus::bus::match_t>(
bus,
sdbusplus::bus::match::rules::interfacesAdded() +
sdbusplus::bus::match::rules::sender(
@@ -217,7 +217,7 @@
* @brief The interfacesAdded match that is used to wait
* for the IBMCompatibleSystem interface to show up.
*/
- std::unique_ptr<sdbusplus::server::match::match> match;
+ std::unique_ptr<sdbusplus::bus::match_t> match;
/** DBusHandler class handles the D-Bus operations */
utils::DBusHandler dBusHandler;