1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 14:07:45 +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

@ -41,7 +41,7 @@ public:
void sort();
String to_string();
String to_string() const;
using ForEachCallback = Function<JS::ThrowCompletionOr<void>(String const&, String const&)>;
JS::ThrowCompletionOr<void> for_each(ForEachCallback);