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: I92347acd0b73d93e2f1c9efdb2a503cf3aba91bf
diff --git a/phosphor-regulators/src/manager.cpp b/phosphor-regulators/src/manager.cpp
index 663d280..71b3369 100644
--- a/phosphor-regulators/src/manager.cpp
+++ b/phosphor-regulators/src/manager.cpp
@@ -83,8 +83,8 @@
std::string matchStr = sdbusplus::bus::match::rules::interfacesAdded() +
sdbusplus::bus::match::rules::sender(
"xyz.openbmc_project.EntityManager");
- std::unique_ptr<sdbusplus::server::match::match> matchPtr =
- std::make_unique<sdbusplus::server::match::match>(
+ std::unique_ptr<sdbusplus::bus::match_t> matchPtr =
+ std::make_unique<sdbusplus::bus::match_t>(
bus, matchStr,
std::bind(&Manager::interfacesAddedHandler, this,
std::placeholders::_1));