Add attribution, return to previous code for daily_filename_format_calculator with fmtlib

This commit is contained in:
Charles Milette
2021-11-16 11:22:30 -05:00
parent ad779e4865
commit 4001032858
2 changed files with 11 additions and 28 deletions

View File

@@ -59,7 +59,7 @@ inline void append_int(T n, memory_buf_t &dest)
template<typename T>
SPDLOG_CONSTEXPR_FUNC unsigned int count_digits_fallback(T n)
{
// taken from fmt.
// taken from fmt: https://github.com/fmtlib/fmt/blob/8.0.1/include/fmt/format.h#L899-L912
unsigned int count = 1;
for (;;)
{