mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +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:
parent
2026ea557e
commit
b5eb2ee478
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/b5eb2ee478 Pull-request: https://github.com/SerenityOS/serenity/pull/17500 Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 1 deletions
|
@ -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&);
|
||||
|
|
Loading…
Reference in a new issue