From 56badc8d8036a228d865b8a9b79b1b8e568d1ee8 Mon Sep 17 00:00:00 2001 From: IIFEgit Date: Tue, 26 May 2020 17:21:21 +0100 Subject: [PATCH] Fix build failure --- tests/test_daily_logger.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_daily_logger.cpp b/tests/test_daily_logger.cpp index c21af8d8..15a141d1 100644 --- a/tests/test_daily_logger.cpp +++ b/tests/test_daily_logger.cpp @@ -35,6 +35,11 @@ struct custom_daily_file_name_calculator fmt::format_to(w, "{}{:04d}{:02d}{:02d}", basename, now_tm.tm_year + 1900, now_tm.tm_mon + 1, now_tm.tm_mday); return fmt::to_string(w); } + + static std::map calc_dates_to_filenames(const spdlog::filename_t &base_filename) + { + return {}; + } }; TEST_CASE("daily_logger with custom calculator", "[daily_logger]")