From 2b8e6562aebdf421e239dccec8732431650f3f2c Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 24 Jan 2017 15:35:28 -0500 Subject: [PATCH] Work around VS-2015 bug --- date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/date.h b/date.h index 5dbcb15..f1ff93d 100644 --- a/date.h +++ b/date.h @@ -4782,7 +4782,7 @@ to_stream(std::basic_ostream& os, const CharT* fmt, if (abbrev == nullptr) throw std::runtime_error("Can not format local_time with %Z"); for (auto c : *abbrev) - os << CharT{c}; + os << CharT(c); } else {