From 4cf521e3912d9a583cc6f7ccaa286738713426b5 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 13 Feb 2024 21:45:04 -0600 Subject: [PATCH] prefer std::format over fmt Use std::format and remove the dependency on fmt. Signed-off-by: Patrick Williams Change-Id: I2d25b542c03c213727d872c5d36114fc59efc8fc --- mmc/item_updater_mmc.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mmc/item_updater_mmc.cpp b/mmc/item_updater_mmc.cpp index 75ef284..0c47efa 100644 --- a/mmc/item_updater_mmc.cpp +++ b/mmc/item_updater_mmc.cpp @@ -6,11 +6,10 @@ #include "utils.hpp" #include "version.hpp" -#include - #include #include +#include #include #include @@ -190,7 +189,7 @@ void GardResetMMC::enableInventoryItemsHelper(const std::string& service, catch (const sdbusplus::exception_t& e) { log( - fmt::format("Failed to enable specified inventory items ex({}) " + std::format("Failed to enable specified inventory items ex({}) " "intf({}) objpath({})", e.what(), intf, objPath) .c_str());