From a6945d046f3f4f53822a5b7cc296a3ad385f11af Mon Sep 17 00:00:00 2001 From: Charless Milette Date: Mon, 15 Nov 2021 15:30:30 -0500 Subject: [PATCH] Fix use of Char --- include/spdlog/sinks/daily_file_sink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/sinks/daily_file_sink.h b/include/spdlog/sinks/daily_file_sink.h index 9e907cd3..c1c87607 100644 --- a/include/spdlog/sinks/daily_file_sink.h +++ b/include/spdlog/sinks/daily_file_sink.h @@ -74,7 +74,7 @@ struct daily_filename_format_calculator return buf; #else - fmt::basic_memory_buffer tm_format; + fmt::basic_memory_buffer tm_format; tm_format.append(specs.begin(), specs.end()); // By appending an extra space we can distinguish an empty result that // indicates insufficient buffer size from a guaranteed non-empty result @@ -82,7 +82,7 @@ struct daily_filename_format_calculator tm_format.push_back(' '); tm_format.push_back('\0'); - fmt::basic_memory_buffer buf; + fmt::basic_memory_buffer buf; size_t start = buf.size(); for (;;) {