1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

Applications+IRCClient: Use new format functions.

This commit is contained in:
asynts 2020-09-23 16:31:34 +02:00 committed by Andreas Kling
parent 5ed15a49f2
commit 1cb8be9906
6 changed files with 77 additions and 89 deletions

View file

@ -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> {
};