summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
Diffstat (limited to 'AK')
-rw-r--r--AK/StringBuilder.cpp2
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 {};
}