diff --git a/include/fmt/format.h b/include/fmt/format.h index 628d68d6..a3e9e6e4 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3469,8 +3469,7 @@ template struct udl_formatter { basic_string_view str; template - auto operator()(Args&&... args) const - -> decltype(format(str, std::forward(args)...)) { + std::basic_string operator()(Args&&... args) const { return format(str, std::forward(args)...); } };