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/dbus-sdr/storagecommands.cpp b/dbus-sdr/storagecommands.cpp
index 7439fd3..e587c56 100644
--- a/dbus-sdr/storagecommands.cpp
+++ b/dbus-sdr/storagecommands.cpp
@@ -103,7 +103,7 @@
static uint16_t writeBus = invalidBus;
static uint8_t writeAddr = invalidAddr;
-std::unique_ptr<phosphor::Timer> writeTimer = nullptr;
+std::unique_ptr<sdbusplus::Timer> writeTimer = nullptr;
static std::vector<sdbusplus::bus::match_t> fruMatches;
ManagedObjectType frus;
@@ -148,7 +148,7 @@
void createTimers()
{
- writeTimer = std::make_unique<phosphor::Timer>(writeFruCache);
+ writeTimer = std::make_unique<sdbusplus::Timer>(writeFruCache);
}
void recalculateHashes()