summaryrefslogtreecommitdiff
path: root/Kernel/Net/NetworkingManagement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Net/NetworkingManagement.cpp')
-rw-r--r--Kernel/Net/NetworkingManagement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/NetworkingManagement.cpp b/Kernel/Net/NetworkingManagement.cpp
index 64ed1ef2a6..994de75306 100644
--- a/Kernel/Net/NetworkingManagement.cpp
+++ b/Kernel/Net/NetworkingManagement.cpp
@@ -63,7 +63,7 @@ RefPtr<NetworkAdapter> NetworkingManagement::from_ipv4_address(const IPv4Address
return m_loopback_adapter;
return {};
}
-RefPtr<NetworkAdapter> NetworkingManagement::lookup_by_name(const StringView& name) const
+RefPtr<NetworkAdapter> NetworkingManagement::lookup_by_name(StringView name) const
{
MutexLocker locker(m_lock);
RefPtr<NetworkAdapter> found_adapter;