From 05b68b85818b3097410140018c9e1ea01621025d Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 26 Jul 2018 00:23:44 +0300 Subject: [PATCH] Fixed example and inline --- include/spdlog/details/fmt_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();