AK+LibJS: Remove null state from DeprecatedFlyString :^)

This commit is contained in:
Dan Klishch
2024-01-24 15:15:48 -05:00
committed by Andrew Kaster
parent 026c1caba0
commit 8ac0e3f0e5
7 changed files with 25 additions and 28 deletions

View File

@@ -338,7 +338,7 @@ ByteString escape_html_entities(StringView html)
}
ByteString::ByteString(DeprecatedFlyString const& string)
: m_impl(*(string.impl() ?: &StringImpl::the_empty_stringimpl()))
: m_impl(string.impl())
{
}