summaryrefslogtreecommitdiff
path: root/AK/FlyString.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-02-18 14:54:46 +0000
committerLinus Groh <mail@linusgroh.de>2023-02-19 00:51:16 +0100
commitb5eb2ee478ee1e114c266292047a23d91bac952f (patch)
treec59b1b9e8fd39a9254a6b768b7a3e63747046f65 /AK/FlyString.h
parent2026ea557e9aa0d61cb683e94eaed20b63268263 (diff)
downloadserenity-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.
Diffstat (limited to 'AK/FlyString.h')
-rw-r--r--AK/FlyString.h2
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&);