diff --git a/framework/gui.cpp b/framework/gui.cpp index 38721abf4..647f2cebb 100644 --- a/framework/gui.cpp +++ b/framework/gui.cpp @@ -923,7 +923,7 @@ void Gui::show_stats(const Stats &stats) if (stats.is_available(stat_index)) { auto graph_value = avg * graph_data.scale_factor; - graph_label << std::vformat(graph_data.name + ": " + graph_data.format, std::make_format_args(graph_value)); + graph_label << fmt::vformat(graph_data.name + ": " + graph_data.format, fmt::make_format_args(graph_value)); ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true); ImGui::PlotLines("", &graph_elements[0], static_cast(graph_elements.size()), 0, graph_label.str().c_str(), graph_min, graph_max, graph_size); ImGui::PopItemFlag(); diff --git a/framework/hpp_gui.cpp b/framework/hpp_gui.cpp index d29ea42c1..b30429e2d 100644 --- a/framework/hpp_gui.cpp +++ b/framework/hpp_gui.cpp @@ -870,7 +870,7 @@ void HPPGui::show_stats(const vkb::stats::HPPStats &stats) if (stats.is_available(stat_index)) { auto graph_value = avg * graph_data.scale_factor; - graph_label << std::vformat(graph_data.name + ": " + graph_data.format, std::make_format_args(graph_value)); + graph_label << fmt::vformat(graph_data.name + ": " + graph_data.format, fmt::make_format_args(graph_value)); ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true); ImGui::PlotLines("", &graph_elements[0], static_cast(graph_elements.size()), 0, graph_label.str().c_str(), graph_min, graph_max, graph_size); ImGui::PopItemFlag();