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: I694f0624eae2cdbb071ab97fe019cd5684615541
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/chassiscommands.cpp b/src/chassiscommands.cpp
index 93ab200..8a40017 100644
--- a/src/chassiscommands.cpp
+++ b/src/chassiscommands.cpp
@@ -64,7 +64,7 @@
constexpr size_t defaultIdentifyTimeOut = 15;
-std::unique_ptr<phosphor::Timer> identifyTimer
+std::unique_ptr<sdbusplus::Timer> identifyTimer
__attribute__((init_priority(101)));
std::unique_ptr<sdbusplus::bus::match_t> matchPtr
__attribute__((init_priority(101)));
@@ -177,7 +177,7 @@
if (!identifyTimer)
{
identifyTimer =
- std::make_unique<phosphor::Timer>(enclosureIdentifyLedBlinkOff);
+ std::make_unique<sdbusplus::Timer>(enclosureIdentifyLedBlinkOff);
}
}