From be4c14452485d0f824e136393c06079a06732028 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 3 Feb 2022 16:23:52 +0200 Subject: [PATCH] AK: Support formatting Vectors with any inline_capacity The default Vector type has its inline capacity set to 0, which means any Vector with non-zero inline capacity was unformattable. --- AK/Format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AK/Format.h b/AK/Format.h index d5e127356f..2034980594 100644 --- a/AK/Format.h +++ b/AK/Format.h @@ -329,8 +329,8 @@ struct Formatter : StandardFormatter { ErrorOr format(FormatBuilder&, StringView); }; -template -requires(HasFormatter) struct Formatter> : StandardFormatter { +template +requires(HasFormatter) struct Formatter> : StandardFormatter { Formatter() = default; explicit Formatter(StandardFormatter formatter)