prefer std::format over fmt
Use std::format and remove the dependency on fmt.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2d25b542c03c213727d872c5d36114fc59efc8fc
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 <fmt/core.h>
-
#include <phosphor-logging/log.hpp>
#include <filesystem>
+#include <format>
#include <iostream>
#include <thread>
@@ -190,7 +189,7 @@
catch (const sdbusplus::exception_t& e)
{
log<level::ERR>(
- 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());