Unverified Commit e93115f4 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Fixed compile under c++20 and clang 12

parent 197c9639
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment