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: If69434b3a3639b8f97ab16cab5da4d70e3379cb2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/chassishandler.cpp b/chassishandler.cpp
index ea233bf..553bbe0 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -37,7 +37,7 @@
#include <sstream>
#include <string>
-std::unique_ptr<phosphor::Timer> identifyTimer
+std::unique_ptr<sdbusplus::Timer> identifyTimer
__attribute__((init_priority(101)));
static ChassisIDState chassisIDState = ChassisIDState::reserved;
@@ -1474,7 +1474,7 @@
if (!identifyTimer)
{
identifyTimer =
- std::make_unique<phosphor::Timer>(enclosureIdentifyLedOff);
+ std::make_unique<sdbusplus::Timer>(enclosureIdentifyLedOff);
}
}