sdbusplus: remove usage of deprecated alias
The alias `server::match` has been deprecated since 2016. Use the new
alias under bus and switch all redundant types to their `type_t`
counterpart.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9a8066ca6b01253d7bd062c3c416384db2ad65fc
diff --git a/subprojects/nemora-postd/src/host_manager.hpp b/subprojects/nemora-postd/src/host_manager.hpp
index 8f1c7fd..8c1370a 100644
--- a/subprojects/nemora-postd/src/host_manager.hpp
+++ b/subprojects/nemora-postd/src/host_manager.hpp
@@ -16,8 +16,8 @@
#include "nemora_types.hpp"
#include <sdbusplus/bus.hpp>
+#include <sdbusplus/bus/match.hpp>
#include <sdbusplus/message.hpp>
-#include <sdbusplus/server.hpp>
#include <mutex>
#include <queue>
@@ -41,7 +41,7 @@
*
* - returns: error code or 0 for success
*/
- int DbusHandleSignal(sdbusplus::message::message& msg);
+ int DbusHandleSignal(sdbusplus::message_t& msg);
/**
* Helper to construct match string for callback registration for POST
@@ -72,8 +72,8 @@
std::vector<uint64_t> postcodes_;
std::mutex postcodes_lock_;
- sdbusplus::bus::bus bus_;
- sdbusplus::server::match::match signal_;
+ sdbusplus::bus_t bus_;
+ sdbusplus::bus::match_t signal_;
std::unique_ptr<std::thread> post_poller_;
bool post_poller_enabled_;
};