Commit db103ff3 authored by gabime's avatar gabime

Replaced passing time by val istead of ref in helper

parent 1ac46bac
...@@ -107,7 +107,7 @@ inline void pad9(T n, fmt::basic_memory_buffer<char, Buffer_Size> &dest) ...@@ -107,7 +107,7 @@ inline void pad9(T n, fmt::basic_memory_buffer<char, Buffer_Size> &dest)
// e.g. // e.g.
// fraction<std::milliseconds>(tp) -> will return the millis part of the second // fraction<std::milliseconds>(tp) -> will return the millis part of the second
template<typename ToDuration> template<typename ToDuration>
inline ToDuration time_fraction(const log_clock::time_point &tp) inline ToDuration time_fraction(log_clock::time_point tp)
{ {
using std::chrono::duration_cast; using std::chrono::duration_cast;
using std::chrono::seconds; using std::chrono::seconds;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment