diff --git a/AK/DeprecatedString.cpp b/AK/DeprecatedString.cpp index 74184daa49..408243d430 100644 --- a/AK/DeprecatedString.cpp +++ b/AK/DeprecatedString.cpp @@ -374,7 +374,7 @@ DeprecatedString escape_html_entities(StringView html) } DeprecatedString::DeprecatedString(DeprecatedFlyString const& string) - : m_impl(*string.impl()) + : m_impl(*(string.impl() ?: &StringImpl::the_empty_stringimpl())) { }