From 0b07acfa807bc52700f987e0dba10533fc12dc97 Mon Sep 17 00:00:00 2001 From: rbrugo Date: Tue, 8 Mar 2022 17:11:28 +0100 Subject: [PATCH] Remove defaulted text_style parameter in styled function --- include/fmt/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; }