summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2022-07-15 22:58:30 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-18 14:57:58 +0100
commit1b9f5fa28a54f3fcbd598012e150c5b3117514f0 (patch)
tree60813bd3cd6286eec204fc4d9d0c8374df45f645 /Userland/Libraries/LibWeb/URL/URLSearchParams.cpp
parent42e76d8de9e172226661e6bdca3fa5a00a8370d4 (diff)
downloadserenity-1b9f5fa28a54f3fcbd598012e150c5b3117514f0.zip
LibWeb: Mark URLSearchParams::to_string() as const
Diffstat (limited to 'Userland/Libraries/LibWeb/URL/URLSearchParams.cpp')
-rw-r--r--Userland/Libraries/LibWeb/URL/URLSearchParams.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp b/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp
index a9a0a74de9..fccdc8a801 100644
--- a/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp
+++ b/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp
@@ -234,7 +234,7 @@ void URLSearchParams::sort()
update();
}
-String URLSearchParams::to_string()
+String URLSearchParams::to_string() const
{
// return the serialization of thisโ€™s list.
return url_encode(m_list, AK::URL::PercentEncodeSet::ApplicationXWWWFormUrlencoded);