diff --git a/include/fmt/color.h b/include/fmt/color.h index 9ee0da35..8e26dfa3 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -683,7 +683,7 @@ struct formatter, Char> : formatter { \endrst */ template -FMT_CONSTEXPR auto styled(const T& value, text_style ts = {}) +FMT_CONSTEXPR auto styled(const T& value, text_style ts) -> detail::styled_arg> { return detail::styled_arg>{value, ts}; }