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/json_config.hpp b/json_config.hpp
index 60e535d..a420ddc 100644
--- a/json_config.hpp
+++ b/json_config.hpp
@@ -107,7 +107,7 @@
{
std::vector<std::string> compatObjPaths;
- _match = std::make_unique<sdbusplus::server::match::match>(
+ _match = std::make_unique<sdbusplus::bus::match_t>(
util::SDBusPlus::getBus(),
sdbusplus::bus::match::rules::interfacesAdded() +
sdbusplus::bus::match::rules::sender(confCompatServ),
@@ -319,7 +319,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;
/**
* @brief List of compatible values from the compatible interface