diff --git a/AK/Format.h b/AK/Format.h index a8b479d6f9..2cb7c6e292 100644 --- a/AK/Format.h +++ b/AK/Format.h @@ -280,6 +280,14 @@ struct Formatter : StandardFormatter { } }; +template<> +struct Formatter : Formatter { + void format(TypeErasedFormatParams& params, FormatBuilder& builder, char value) + { + Formatter::format(params, builder, { &value, 1 }); + } +}; + template<> struct Formatter : StandardFormatter { void format(TypeErasedFormatParams&, FormatBuilder&, bool value);