summaryrefslogtreecommitdiff
path: root/AK/String.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/String.cpp')
-rw-r--r--AK/String.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/AK/String.cpp b/AK/String.cpp
index 1924aef113..6fe7f9af52 100644
--- a/AK/String.cpp
+++ b/AK/String.cpp
@@ -208,12 +208,6 @@ void String::destroy_string()
m_data->unref();
}
-String::String()
-{
- // This is an empty string, it's always short and zero-length.
- m_short_string.byte_count_and_short_string_flag = SHORT_STRING_FLAG;
-}
-
ErrorOr<String> String::from_utf8(StringView view)
{
if (view.length() <= MAX_SHORT_STRING_BYTE_COUNT) {