From 7c3d3dfa291c6755c80a0bb13ff2f658d5a9a0a3 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 4 Jun 2021 21:12:47 -0700 Subject: [PATCH] Update thousands_sep_impl signature --- include/fmt/format-inl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index ab03e3bf..a802aea5 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -115,7 +115,8 @@ template FMT_FUNC Char decimal_point_impl(locale_ref loc) { .decimal_point(); } #else -template FMT_FUNC Char thousands_sep_impl(locale_ref) { +template +FMT_FUNC auto thousands_sep_impl(locale_ref) -> thousands_sep_result { return {"\03", FMT_STATIC_THOUSANDS_SEPARATOR}; } template FMT_FUNC Char decimal_point_impl(locale_ref) {