summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/URLEncoder.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-05 12:37:11 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-05 15:50:28 +0200
commitd677d23da1523ae541db21defa50187d468f4482 (patch)
tree6c5bd31c38b20591738c60693085389ce0f5d0bb /Libraries/LibWeb/URLEncoder.h
parentd1a9afa7cd965d09a6dfae5a1c90e4fd3ff01307 (diff)
downloadserenity-d677d23da1523ae541db21defa50187d468f4482.zip
LibWeb: Make the URL encoding function a little less copy-happy
Diffstat (limited to 'Libraries/LibWeb/URLEncoder.h')
-rw-r--r--Libraries/LibWeb/URLEncoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/URLEncoder.h b/Libraries/LibWeb/URLEncoder.h
index 5b8cfa01be..61cb8b34dd 100644
--- a/Libraries/LibWeb/URLEncoder.h
+++ b/Libraries/LibWeb/URLEncoder.h
@@ -36,8 +36,8 @@ struct URLQueryParam {
String value;
};
-String url_encode(StringView);
-String url_encode(Vector<URLQueryParam>);
+String url_encode(const StringView&);
+String url_encode(const Vector<URLQueryParam>&);
}