From 29e93af16453ed7d122a8501c3b3f4c64e7f3900 Mon Sep 17 00:00:00 2001 From: zeffy Date: Thu, 23 Jan 2020 10:47:14 -0800 Subject: [PATCH] Revert changes to format_localized's parameters --- include/fmt/chrono.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index b6a49da3..8bd16805 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -894,7 +894,7 @@ struct chrono_formatter { void write_pinf() { std::copy_n("inf", 3, out); } void write_ninf() { std::copy_n("-inf", 4, out); } - void format_localized(const tm& time, const char_type* format) { + void format_localized(const tm& time, const char* format) { if (isnan(val)) return write_nan(); auto locale = context.locale().template get(); auto& facet = std::use_facet>(locale);