Revert changes

This commit is contained in:
Gabi Melman 2021-08-10 16:53:22 +03:00 committed by GitHub
parent 4646bd082a
commit ddaa61ca9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ SPDLOG_INLINE filename_t rotating_file_sink<Mutex>::calc_filename(const filename
filename_t basename, ext; filename_t basename, ext;
std::tie(basename, ext) = details::file_helper::split_by_extension(filename); std::tie(basename, ext) = details::file_helper::split_by_extension(filename);
return fmt::format(SPDLOG_FILENAME_T(SPDLOG_FMT_RUNTIME("{}.{}{}")), basename, index, ext); return fmt::format(SPDLOG_FILENAME_T("{}.{}{}"), basename, index, ext);
} }
template<typename Mutex> template<typename Mutex>