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);