prefer std::format over fmt
Use std::format or stdplus::print and eliminate the fmt dependency.
Change-Id: Ide14b682949914f09f749141196cdb210fe1239e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/dbus/file_notifier.hpp b/include/dbus/file_notifier.hpp
index 83c92f9..da37158 100644
--- a/include/dbus/file_notifier.hpp
+++ b/include/dbus/file_notifier.hpp
@@ -1,10 +1,9 @@
#pragma once
-#include <fmt/format.h>
-
#include <sdbusplus/server.hpp>
#include <xyz/openbmc_project/Common/FilePath/server.hpp>
+#include <format>
#include <string>
namespace bios_bmc_smm_error_logger
@@ -47,7 +46,7 @@
*/
std::string generatePath(uint64_t entry)
{
- return fmt::format("{}/entry{}", cperBasePath, entry);
+ return std::format("{}/entry{}", cperBasePath, entry);
}
};