From 005de97e6d1c162154bfa0255be83ba462f8f660 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 21 May 2023 13:58:11 +0200 Subject: [PATCH] Add missing fmt prefixes --- src/btop_tools.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/btop_tools.cpp b/src/btop_tools.cpp index 0d740de1..f890455e 100644 --- a/src/btop_tools.cpp +++ b/src/btop_tools.cpp @@ -581,11 +581,11 @@ namespace Tools { void DebugTimer::report() { string report_line; if (start_time == 0 and elapsed_time == 0) - report_line = format("DebugTimer::report() warning -> Timer [{}] has not been started!", name); + report_line = fmt::format("DebugTimer::report() warning -> Timer [{}] has not been started!", name); else if (running) - report_line = format(custom_locale, "Timer [{}] (running) currently at {:L} μs", name, time_micros() - start_time); + report_line = fmt::format(custom_locale, "Timer [{}] (running) currently at {:L} μs", name, time_micros() - start_time); else - report_line = format(custom_locale, "Timer [{}] took {:L} μs", name, elapsed_time); + report_line = fmt::format(custom_locale, "Timer [{}] took {:L} μs", name, elapsed_time); if (delayed_report) report_buffer.emplace_back(report_line);