Commit 05b68b85 authored by gabime's avatar gabime

Fixed example and inline

parent de6ddf4e
......@@ -117,7 +117,7 @@ inline void pad6(size_t n, fmt::basic_memory_buffer<char, Buffer_Size> &dest)
// e.g.
// fraction<std::milliseconds>(tp) -> will return the millis part of the second
template<typename ToDuration>
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();
......
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