From b9e03071ccd1fc1ae2b1c172489aa4817648658a Mon Sep 17 00:00:00 2001 From: MacDue Date: Fri, 14 Apr 2023 20:12:20 +0100 Subject: [PATCH] AK: Remove unnecessary parameter names in URL.h --- AK/URL.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AK/URL.h b/AK/URL.h index a5cd5fa2e3..fd5b67011a 100644 --- a/AK/URL.h +++ b/AK/URL.h @@ -73,15 +73,15 @@ public: No }; void set_scheme(DeprecatedString); - void set_username(DeprecatedString username, ApplyPercentEncoding apply_percent_encoding = ApplyPercentEncoding::Yes); - void set_password(DeprecatedString password, ApplyPercentEncoding apply_percent_encoding = ApplyPercentEncoding::Yes); + void set_username(DeprecatedString, ApplyPercentEncoding = ApplyPercentEncoding::Yes); + void set_password(DeprecatedString, ApplyPercentEncoding = ApplyPercentEncoding::Yes); void set_host(DeprecatedString); void set_port(Optional); - void set_paths(Vector password, ApplyPercentEncoding apply_percent_encoding = ApplyPercentEncoding::Yes); - void set_query(DeprecatedString query, ApplyPercentEncoding apply_percent_encoding = ApplyPercentEncoding::Yes); - void set_fragment(DeprecatedString fragment, ApplyPercentEncoding apply_percent_encoding = ApplyPercentEncoding::Yes); + void set_paths(Vector, ApplyPercentEncoding = ApplyPercentEncoding::Yes); + void set_query(DeprecatedString, ApplyPercentEncoding = ApplyPercentEncoding::Yes); + void set_fragment(DeprecatedString fragment, ApplyPercentEncoding = ApplyPercentEncoding::Yes); void set_cannot_be_a_base_url(bool value) { m_cannot_be_a_base_url = value; } - void append_path(DeprecatedString path, ApplyPercentEncoding apply_percent_encoding = ApplyPercentEncoding::Yes); + void append_path(DeprecatedString, ApplyPercentEncoding = ApplyPercentEncoding::Yes); void append_slash() { // NOTE: To indicate that we want to end the path with a slash, we have to append an empty path segment.