mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:57:47 +00:00
Applications+IRCClient: Use new format functions.
This commit is contained in:
parent
5ed15a49f2
commit
1cb8be9906
6 changed files with 77 additions and 89 deletions
|
@ -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> {
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue