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:
parent
ed0068d04d
commit
a4f320c76b
Notes:
sideshowbarker
2024-07-18 16:58:40 +09:00
Author: https://github.com/gunnarbeutner
Commit: a4f320c76b
Pull-request: https://github.com/SerenityOS/serenity/pull/7716
4 changed files with 17 additions and 24 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue