summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URL/URL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/URL/URL.cpp')
-rw-r--r--Userland/Libraries/LibWeb/URL/URL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/URL/URL.cpp b/Userland/Libraries/LibWeb/URL/URL.cpp
index 61ba8c3d06..0470e86f1c 100644
--- a/Userland/Libraries/LibWeb/URL/URL.cpp
+++ b/Userland/Libraries/LibWeb/URL/URL.cpp
@@ -101,7 +101,7 @@ String URL::username() const
return m_url.username();
}
-void URL::set_username(const String& username)
+void URL::set_username(String const& username)
{
// 1. If this’s URL cannot have a username/password/port, then return.
if (m_url.cannot_have_a_username_or_password_or_port())
@@ -139,7 +139,7 @@ String URL::host() const
return String::formatted("{}:{}", url.host(), *url.port());
}
-void URL::set_host(const String& host)
+void URL::set_host(String const& host)
{
// 1. If this’s URL’s cannot-be-a-base-URL is true, then return.
if (m_url.cannot_be_a_base_url())