summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIMAP
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-11 00:55:02 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-11 01:27:46 +0100
commit8b1108e4858f797c9216dc8ae4a3918ad50c73b4 (patch)
treeca64ba25aa735d25013d76c6d83570496c742014 /Userland/Libraries/LibIMAP
parentad5d217e760c7fb73ffc0c4c827d767d6be8ec80 (diff)
downloadserenity-8b1108e4858f797c9216dc8ae4a3918ad50c73b4.zip
Everywhere: Pass AK::StringView by value
Diffstat (limited to 'Userland/Libraries/LibIMAP')
-rw-r--r--Userland/Libraries/LibIMAP/QuotedPrintable.cpp2
-rw-r--r--Userland/Libraries/LibIMAP/QuotedPrintable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibIMAP/QuotedPrintable.cpp b/Userland/Libraries/LibIMAP/QuotedPrintable.cpp
index 01c81c7383..901a59f000 100644
--- a/Userland/Libraries/LibIMAP/QuotedPrintable.cpp
+++ b/Userland/Libraries/LibIMAP/QuotedPrintable.cpp
@@ -17,7 +17,7 @@ static constexpr bool is_illegal_character(char c)
}
// RFC 2045 Section 6.7 "Quoted-Printable Content-Transfer-Encoding", https://datatracker.ietf.org/doc/html/rfc2045#section-6.7
-ByteBuffer decode_quoted_printable(StringView const& input)
+ByteBuffer decode_quoted_printable(StringView input)
{
GenericLexer lexer(input);
StringBuilder output;
diff --git a/Userland/Libraries/LibIMAP/QuotedPrintable.h b/Userland/Libraries/LibIMAP/QuotedPrintable.h
index 8b127b3783..ac6508deca 100644
--- a/Userland/Libraries/LibIMAP/QuotedPrintable.h
+++ b/Userland/Libraries/LibIMAP/QuotedPrintable.h
@@ -10,6 +10,6 @@
namespace IMAP {
-ByteBuffer decode_quoted_printable(StringView const&);
+ByteBuffer decode_quoted_printable(StringView);
}