diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-02-18 14:54:46 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-19 00:51:16 +0100 |
commit | b5eb2ee478ee1e114c266292047a23d91bac952f (patch) | |
tree | c59b1b9e8fd39a9254a6b768b7a3e63747046f65 | |
parent | 2026ea557e9aa0d61cb683e94eaed20b63268263 (diff) | |
download | serenity-b5eb2ee478ee1e114c266292047a23d91bac952f.zip |
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.
-rw-r--r-- | AK/FlyString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/FlyString.h b/AK/FlyString.h index 933af662a5..71631024f1 100644 --- a/AK/FlyString.h +++ b/AK/FlyString.h @@ -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&); |