From b5eb2ee478ee1e114c266292047a23d91bac952f Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 18 Feb 2023 14:54:46 +0000 Subject: 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. --- AK/FlyString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AK/FlyString.h') 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 from_utf8(StringView); - explicit FlyString(String const&); + FlyString(String const&); FlyString& operator=(String const&); FlyString(FlyString const&); -- cgit v1.2.3