diff --git a/AK/StringView.h b/AK/StringView.h index a64b7b5e87..457fefbf63 100644 --- a/AK/StringView.h +++ b/AK/StringView.h @@ -33,11 +33,6 @@ public: { VERIFY(!Checked::addition_would_overflow((uintptr_t)characters, length)); } - ALWAYS_INLINE constexpr StringView(char const* cstring) - : m_characters(cstring) - , m_length(cstring ? __builtin_strlen(cstring) : 0) - { - } ALWAYS_INLINE StringView(ReadonlyBytes bytes) : m_characters(reinterpret_cast(bytes.data())) , m_length(bytes.size())