Skip to content

Commit

Permalink
Fix building with FMT_ENFORCE_COMPILE_STRING (#3137)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIOB committed Jul 16, 2024
1 parent d276069 commit 885b547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/sinks/rotating_file_sink-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,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_lib::format(SPDLOG_FILENAME_T("{}.{}{}"), basename, index, ext);
return fmt_lib::format(SPDLOG_FMT_STRING(SPDLOG_FILENAME_T("{}.{}{}")), basename, index, ext);
}

template <typename Mutex>
Expand Down

0 comments on commit 885b547

Please sign in to comment.