diff --git a/include/spdlog/details/fmt_helper.h b/include/spdlog/details/fmt_helper.h index d8abcf76..0f670539 100644 --- a/include/spdlog/details/fmt_helper.h +++ b/include/spdlog/details/fmt_helper.h @@ -117,7 +117,7 @@ inline void pad6(size_t n, fmt::basic_memory_buffer &dest) // e.g. // fraction(tp) -> will return the millis part of the second template -ToDuration time_fraction(const log_clock::time_point &tp) +inline ToDuration time_fraction(const log_clock::time_point &tp) { using namespace std::chrono; auto duration = tp.time_since_epoch();