From f16a118e8870af2f0851db1badb5b90669e435da Mon Sep 17 00:00:00 2001 From: Daniela Engert Date: Sun, 7 Oct 2018 08:20:01 +0200 Subject: [PATCH] Fix non-matching char types. Signed-off-by: Daniela Engert --- include/fmt/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);