mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Fixed clang c++20 compile
This commit is contained in:
@@ -50,7 +50,7 @@ struct daily_filename_format_calculator
|
||||
{
|
||||
// generate fmt datetime format string, e.g. {:%Y-%m-%d}.
|
||||
filename_t fmt_filename = fmt::format(SPDLOG_FILENAME_T("{{:{}}}"), filename);
|
||||
return fmt::format(fmt_filename, now_tm);
|
||||
return fmt::format(fmt::runtime(fmt_filename), now_tm);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user