diff options
Diffstat (limited to 'AK/Format.h')
-rw-r--r-- | AK/Format.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/AK/Format.h b/AK/Format.h index 8646915da0..dde28aac3c 100644 --- a/AK/Format.h +++ b/AK/Format.h @@ -68,6 +68,12 @@ struct Formatter<StringView> { bool parse(StringView flags); void format(StringBuilder& builder, StringView value); }; +template<> +struct Formatter<const char*> : Formatter<StringView> { +}; +template<> +struct Formatter<char*> : Formatter<StringView> { +}; template<size_t Size> struct Formatter<char[Size]> : Formatter<StringView> { }; |