1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09: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
Notes: sideshowbarker 2024-07-18 16:58:40 +09:00
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)
{