summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto/Hash/HashFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCrypto/Hash/HashFunction.h')
-rw-r--r--Userland/Libraries/LibCrypto/Hash/HashFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCrypto/Hash/HashFunction.h b/Userland/Libraries/LibCrypto/Hash/HashFunction.h
index 091c252661..71a10043f6 100644
--- a/Userland/Libraries/LibCrypto/Hash/HashFunction.h
+++ b/Userland/Libraries/LibCrypto/Hash/HashFunction.h
@@ -29,7 +29,7 @@ public:
void update(const Bytes& buffer) { update(buffer.data(), buffer.size()); };
void update(const ReadonlyBytes& buffer) { update(buffer.data(), buffer.size()); };
void update(const ByteBuffer& buffer) { update(buffer.data(), buffer.size()); };
- void update(const StringView& string) { update((const u8*)string.characters_without_null_termination(), string.length()); };
+ void update(StringView string) { update((const u8*)string.characters_without_null_termination(), string.length()); };
virtual DigestType peek() = 0;
virtual DigestType digest() = 0;