From 06a576c9dd32e366e2efcb19e7def5db781ff39f Mon Sep 17 00:00:00 2001 From: Walter Gray Date: Wed, 23 Dec 2020 19:05:07 -0800 Subject: [PATCH] revert locale format fix --- include/fmt/locale.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/locale.h b/include/fmt/locale.h index b5990ef1..7301bf92 100644 --- a/include/fmt/locale.h +++ b/include/fmt/locale.h @@ -52,8 +52,8 @@ inline OutputIt vformat_to( template >::value> -inline auto format_to(OutputIt out, const std::locale& loc, const S& format_str, - Args&&... args) -> +inline auto format_to(OutputIt out, const std::locale& loc, + const S& format_str, Args&&... args) -> typename std::enable_if::type { const auto& vargs = fmt::make_args_checked(format_str, args...); return vformat_to(out, loc, to_string_view(format_str), vargs);