diff options
Diffstat (limited to 'AK')
-rw-r--r-- | AK/StringBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/StringBuilder.cpp b/AK/StringBuilder.cpp index 9b5f31505a..22c31507b2 100644 --- a/AK/StringBuilder.cpp +++ b/AK/StringBuilder.cpp @@ -49,7 +49,7 @@ ErrorOr<void> StringBuilder::try_append(StringView string) ErrorOr<void> StringBuilder::try_append(char ch) { TRY(will_append(1)); - TRY(m_buffer.try_append(&ch, 1)); + TRY(m_buffer.try_append(ch)); return {}; } |