diff --git a/include/fmt/core.h b/include/fmt/core.h index d880e8ad..32647c1b 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1258,7 +1258,7 @@ struct named_arg_base { basic_string_view name; // Serialized value. - mutable char data[sizeof(basic_format_arg)]; + mutable char data[sizeof(basic_format_arg::type>)]; named_arg_base(basic_string_view nm) : name(nm) {} @@ -1334,7 +1334,7 @@ template void arg(S, internal::named_arg) = delete; template -format_context::iterator vformat_to( +typename buffer_context::type::iterator vformat_to( internal::basic_buffer &buf, const S &format_str, basic_format_args > args);