From 42c466296aca5f19324920e9db6498d3ea9faf07 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 26 Apr 2020 01:58:55 +0300 Subject: [PATCH] Fix #1527 again --- 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..ebed5917 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 = custom_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);