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

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

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&);