diff options
Diffstat (limited to 'AK/MACAddress.h')
-rw-r--r-- | AK/MACAddress.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/MACAddress.h b/AK/MACAddress.h index bcac9c8eec..32e32c1bf9 100644 --- a/AK/MACAddress.h +++ b/AK/MACAddress.h @@ -58,7 +58,7 @@ public: return String::formatted("{:02x}:{:02x}:{:02x}:{:02x}:{:02x}:{:02x}", m_data[0], m_data[1], m_data[2], m_data[3], m_data[4], m_data[5]); } - static Optional<MACAddress> from_string(const StringView& string) + static Optional<MACAddress> from_string(StringView string) { if (string.is_null()) return {}; |