mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Fixed example and inline
This commit is contained in:
parent
de6ddf4e2a
commit
05b68b8581
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user