sdbusplus: avoid deprecated phosphor::Timer
sdbusplus had an older type named `phosphor::Timer` which was
recently renamed to `sdbusplus::Timer`. Update the code to use
the new type alias.
Change-Id: I68d3968bcb359bee5ea0c9e695572b68fcf34136
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/requester/handler.hpp b/requester/handler.hpp
index 02c5d02..5fc5f7b 100644
--- a/requester/handler.hpp
+++ b/requester/handler.hpp
@@ -197,7 +197,7 @@
pldmTransport, requestMsg->key.eid, event,
std::move(requestMsg->reqMsg), numRetries, responseTimeOut,
verbose);
- auto timer = std::make_unique<phosphor::Timer>(
+ auto timer = std::make_unique<sdbusplus::Timer>(
event.get(), std::bind(&Handler::instanceIdExpiryCallBack, this,
requestMsg->key));
@@ -335,7 +335,7 @@
*/
using RequestValue =
std::tuple<std::unique_ptr<RequestInterface>, ResponseHandler,
- std::unique_ptr<phosphor::Timer>>;
+ std::unique_ptr<sdbusplus::Timer>>;
// Manage the requests of responders base on MCTP EID
std::map<mctp_eid_t, std::shared_ptr<EndpointMessageQueue>>