mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
AK: Make Utf8View constexpr-constructible
This commit is contained in:
parent
d5507191a9
commit
4774bed589
Notes:
sideshowbarker
2024-07-17 20:42:33 +09:00
Author: https://github.com/IdanHo
Commit: 4774bed589
Pull-request: https://github.com/SerenityOS/serenity/pull/11950
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
explicit Utf8View(StringView string)
|
explicit constexpr Utf8View(StringView string)
|
||||||
: m_string(string)
|
: m_string(string)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue