Skip to content

Commit

Permalink
Add missing fmt prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos committed May 21, 2023
1 parent 1fee2bc commit 005de97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/btop_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 005de97

Please sign in to comment.