mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 11:55:12 +00:00
AK: Add an identity implementation of StringView::from_string_literal()
This is required for the Jakt runtime.
This commit is contained in:
parent
e591c604de
commit
18bc88b806
1 changed files with 6 additions and 0 deletions
|
@ -40,6 +40,12 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Note: This is here for Jakt.
|
||||||
|
ALWAYS_INLINE static StringView from_string_literal(StringView string)
|
||||||
|
{
|
||||||
|
return string;
|
||||||
|
}
|
||||||
|
|
||||||
StringView(ByteBuffer const&);
|
StringView(ByteBuffer const&);
|
||||||
#ifndef KERNEL
|
#ifndef KERNEL
|
||||||
StringView(String const&);
|
StringView(String const&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue