From 3166993b602cc935c2741318579d3101acc88fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20S=C3=A1=20Menezes?= Date: Mon, 1 Jul 2024 13:46:06 +0100 Subject: [PATCH] replaced std::format with fmt::format --- src/bounded-loop-unroller/frontend_action.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bounded-loop-unroller/frontend_action.cpp b/src/bounded-loop-unroller/frontend_action.cpp index 1bc9e4c..e973230 100644 --- a/src/bounded-loop-unroller/frontend_action.cpp +++ b/src/bounded-loop-unroller/frontend_action.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include namespace { template @@ -81,7 +81,7 @@ namespace BoundedLoopUnroller { clang_format << "InsertBraces: True\nBasedOnStyle: LLVM\n"; clang_format.close(); - system(std::format("clang-format -style=file -i {}", tmp1).c_str()); + system(fmt::format("clang-format -style=file -i {}", tmp1).c_str()); size_t counter = 0; while (1) { @@ -94,7 +94,7 @@ namespace BoundedLoopUnroller { create_copy(tmp2, tmp1); } - system(std::format("clang-format -i {}", tmp2).c_str()); + system(fmt::format("clang-format -i {}", tmp2).c_str()); create_copy(tmp2, arg2);