From 4646bd082a36698286097cabb95a8e20edd214be Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 10 Aug 2021 15:41:03 +0300 Subject: [PATCH] Update rotating_file_sink-inl.h --- include/spdlog/sinks/rotating_file_sink-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/rotating_file_sink-inl.h b/include/spdlog/sinks/rotating_file_sink-inl.h index 81b081b2..64d3dac0 100644 --- a/include/spdlog/sinks/rotating_file_sink-inl.h +++ b/include/spdlog/sinks/rotating_file_sink-inl.h @@ -50,7 +50,7 @@ SPDLOG_INLINE filename_t rotating_file_sink::calc_filename(const filename filename_t basename, ext; std::tie(basename, ext) = details::file_helper::split_by_extension(filename); - return fmt::format(SPDLOG_FMT_RUNTIME(SPDLOG_FILENAME_T("{}.{}{}")), basename, index, ext); + return fmt::format(SPDLOG_FILENAME_T(SPDLOG_FMT_RUNTIME("{}.{}{}")), basename, index, ext); } template