diff options
Diffstat (limited to 'Kernel/KBufferBuilder.cpp')
-rw-r--r-- | Kernel/KBufferBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/KBufferBuilder.cpp b/Kernel/KBufferBuilder.cpp index cc944e9303..6e1654f3dd 100644 --- a/Kernel/KBufferBuilder.cpp +++ b/Kernel/KBufferBuilder.cpp @@ -66,7 +66,7 @@ ErrorOr<void> KBufferBuilder::append_bytes(ReadonlyBytes bytes) return {}; } -ErrorOr<void> KBufferBuilder::append(const StringView& str) +ErrorOr<void> KBufferBuilder::append(StringView str) { if (str.is_empty()) return {}; @@ -97,7 +97,7 @@ ErrorOr<void> KBufferBuilder::append(char ch) return {}; } -ErrorOr<void> KBufferBuilder::append_escaped_for_json(const StringView& string) +ErrorOr<void> KBufferBuilder::append_escaped_for_json(StringView string) { for (auto ch : string) { switch (ch) { |