1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:07:34 +00:00

LibWeb: Mark URLSearchParams::to_string() as const

This commit is contained in:
Kenneth Myhra 2022-07-15 22:58:30 +02:00 committed by Linus Groh
parent 42e76d8de9
commit 1b9f5fa28a
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ void URLSearchParams::sort()
update();
}
String URLSearchParams::to_string()
String URLSearchParams::to_string() const
{
// return the serialization of thiss list.
return url_encode(m_list, AK::URL::PercentEncodeSet::ApplicationXWWWFormUrlencoded);