mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-30 20:33:51 +00:00
fix unique mode compile
This commit is contained in:
parent
dd46579cb4
commit
a709e29586
@ -45,7 +45,7 @@ struct daily_filename_format_calculator
|
|||||||
// Create filename by formatting %Y_%m_%d.log
|
// Create filename by formatting %Y_%m_%d.log
|
||||||
static filename_t calc_filename (const filename_t &filename, const tm &now_tm)
|
static filename_t calc_filename (const filename_t &filename, const tm &now_tm)
|
||||||
{
|
{
|
||||||
filename_t fmt_filename = fmt::format("{{:{}}}", filename);
|
filename_t fmt_filename = fmt::format(SPDLOG_FILENAME_T ("{{:{}}}"), filename);
|
||||||
return fmt::format(fmt_filename, now_tm);
|
return fmt::format(fmt_filename, now_tm);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user