From f3b55fcab06f7f14c120a1374f626800a183f6ba Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 26 Apr 2020 00:43:36 +0300 Subject: [PATCH] Fix #1527 --- include/spdlog/pattern_formatter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/pattern_formatter.h b/include/spdlog/pattern_formatter.h index ecea6bcf..d122c1fc 100644 --- a/include/spdlog/pattern_formatter.h +++ b/include/spdlog/pattern_formatter.h @@ -80,7 +80,7 @@ public: using custom_flags = std::unordered_map>; explicit pattern_formatter(std::string pattern, pattern_time_type time_type = pattern_time_type::local, - std::string eol = spdlog::details::os::default_eol, custom_flags custom_user_flags = {}); + std::string eol = spdlog::details::os::default_eol, custom_flags custom_user_flags = {{}}); // use default pattern is not given explicit pattern_formatter(pattern_time_type time_type = pattern_time_type::local, std::string eol = spdlog::details::os::default_eol);