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