diff --git a/include/fmt/base.h b/include/fmt/base.h index 0c9e562a..505940f8 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -286,8 +286,6 @@ # error FMT_BUILTIN_TYPES=0 requires constexpr if support #endif -#define FMT_FWD(...) static_cast(__VA_ARGS__) - #define FMT_APPLY_VARIADIC(expr) \ using ignore = int[]; \ (void)ignore { 0, (expr, 0)... } @@ -2868,7 +2866,7 @@ template ::value)> FMT_INLINE auto format_to(OutputIt&& out, format_string fmt, T&&... args) -> remove_cvref_t { - return vformat_to(FMT_FWD(out), fmt.str, vargs{{args...}}); + return vformat_to(out, fmt.str, vargs{{args...}}); } template struct format_to_n_result {