summaryrefslogtreecommitdiff
path: root/src/lib/timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/timer.cc')
-rw-r--r--src/lib/timer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/timer.cc b/src/lib/timer.cc
index caef89e0e..32525b908 100644
--- a/src/lib/timer.cc
+++ b/src/lib/timer.cc
@@ -24,7 +24,6 @@
*/
-#include "compose.hpp"
#include "timer.h"
#include "util.h"
#include <sys/time.h>
@@ -130,7 +129,7 @@ StateTimer::~StateTimer ()
char buffer[64];
snprintf (buffer, 64, "%.4f", i.second.total_time);
string total_time (buffer);
- sorted.push_back (make_pair(i.second.total_time, String::compose("\t%1%2 %3 %4", name, total_time, i.second.number, (i.second.total_time / i.second.number))));
+ sorted.push_back (make_pair(i.second.total_time, fmt::format("\t{}{} {} {}", name, total_time, i.second.number, (i.second.total_time / i.second.number))));
}
sorted.sort ([](pair<double, string> const& a, pair<double, string> const& b) {