diff --git a/src/gen/osm2pgsql-gen.cpp b/src/gen/osm2pgsql-gen.cpp index 7ec3634fa..afbb0f80d 100644 --- a/src/gen/osm2pgsql-gen.cpp +++ b/src/gen/osm2pgsql-gen.cpp @@ -327,10 +327,9 @@ class genproc_t log_debug("Timers:"); for (auto const &timer : generalizer->timers()) { - log_debug(fmt::format( - " {:10} {:>10L}", timer.name() + ":", - std::chrono::duration_cast( - timer.elapsed()))); + log_debug(" {:10} {:>10L}", timer.name() + ":", + std::chrono::duration_cast( + timer.elapsed())); } log_info("Finished generalizer '{}' in {}.", generalizer->name(), util::human_readable_duration(timer_gen.stop()));