AK: Make Utf8View constexpr-constructible

This commit is contained in:
Idan Horowitz 2022-01-16 20:33:16 +02:00 committed by Linus Groh
parent d5507191a9
commit 4774bed589
Notes: sideshowbarker 2024-07-17 20:42:33 +09:00

View file

@ -65,7 +65,7 @@ public:
{
}
explicit Utf8View(StringView string)
explicit constexpr Utf8View(StringView string)
: m_string(string)
{
}