mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fixed compile under c++20 and clang 12
This commit is contained in:
parent
197c9639bb
commit
e93115f436
@ -50,7 +50,7 @@ SPDLOG_INLINE filename_t rotating_file_sink<Mutex>::calc_filename(const filename
|
||||
|
||||
filename_t basename, ext;
|
||||
std::tie(basename, ext) = details::file_helper::split_by_extension(filename);
|
||||
return fmt::format(SPDLOG_FILENAME_T("{}.{}{}"), basename, index, ext);
|
||||
return fmt::format(SPDLOG_FMT_RUNTIME(SPDLOG_FILENAME_T("{}.{}{}")), basename, index, ext);
|
||||
}
|
||||
|
||||
template<typename Mutex>
|
||||
|
Loading…
Reference in New Issue
Block a user