diff options
author | Andreas Kling <kling@serenityos.org> | 2020-10-04 13:50:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-04 17:03:33 +0200 |
commit | f41b5a453525a185cf80ab65204d23ec27071f64 (patch) | |
tree | 27da86c45d8a644cfeef72e69933bd1e2e2d6830 /AK | |
parent | 616af36d91ec895bd363fe42990804570b1d365e (diff) | |
download | serenity-f41b5a453525a185cf80ab65204d23ec27071f64.zip |
AK: Add Formatter for FlyString :^)
Diffstat (limited to 'AK')
-rw-r--r-- | AK/Format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AK/Format.h b/AK/Format.h index 2cb7c6e292..e4a8ff6509 100644 --- a/AK/Format.h +++ b/AK/Format.h @@ -259,6 +259,9 @@ struct Formatter<char[Size]> : Formatter<StringView> { template<> struct Formatter<String> : Formatter<StringView> { }; +template<> +struct Formatter<FlyString> : Formatter<StringView> { +}; template<typename T> struct Formatter<T, typename EnableIf<IsIntegral<T>::value>::Type> : StandardFormatter { |