1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00

AK: Allow inlining more string functions

This commit is contained in:
Gunnar Beutner 2021-06-03 01:35:01 +02:00 committed by Andreas Kling
parent ed0068d04d
commit a4f320c76b
4 changed files with 17 additions and 24 deletions

View file

@ -23,7 +23,10 @@ public:
}
FlyString(const String&);
FlyString(const StringView&);
FlyString(const char*);
FlyString(const char* string)
: FlyString(static_cast<String>(string))
{
}
FlyString& operator=(const FlyString& other)
{