summaryrefslogtreecommitdiff
path: root/AK/Hex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Hex.cpp')
-rw-r--r--AK/Hex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Hex.cpp b/AK/Hex.cpp
index 099b96eb5f..7e8cd99d86 100644
--- a/AK/Hex.cpp
+++ b/AK/Hex.cpp
@@ -15,7 +15,7 @@
namespace AK {
-Optional<ByteBuffer> decode_hex(const StringView& input)
+Optional<ByteBuffer> decode_hex(StringView input)
{
if ((input.length() % 2) != 0)
return {};