Remove constructors for arg_formatter struct

This commit is contained in:
Kenneth Weiss 2023-01-09 12:34:31 -08:00
parent 10e187dff6
commit af9a54ac93

View File

@ -3583,13 +3583,6 @@ template <typename Char> struct arg_formatter {
const format_specs<Char>* specs;
locale_ref locale;
arg_formatter(buffer_appender<Char> it, const format_specs<Char>* s)
: out(it), specs(s) {}
arg_formatter(buffer_appender<Char> it, const format_specs<Char>* s,
locale_ref l)
: out(it), specs(s), locale(l) {}
template <typename T>
FMT_CONSTEXPR FMT_INLINE auto operator()(T value) -> iterator {
return detail::write(out, value, *specs, locale);