AK: Make FlyString(String) constructor implicit

This stops us needing a lot of ugly `FlyString { ... }` wrappers. THis
is the behavior that `DeprecatedFlyString(DeprecatedString)` has so it
should be fine.
This commit is contained in:
Sam Atkins 2023-02-18 14:54:46 +00:00 committed by Linus Groh
parent 2026ea557e
commit b5eb2ee478
Notes: sideshowbarker 2024-07-17 06:39:26 +09:00

View file

@ -21,7 +21,7 @@ public:
~FlyString();
static ErrorOr<FlyString> from_utf8(StringView);
explicit FlyString(String const&);
FlyString(String const&);
FlyString& operator=(String const&);
FlyString(FlyString const&);