summaryrefslogtreecommitdiffstats
path: root/core/crypto/hashing_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto/hashing_context.cpp')
-rw-r--r--core/crypto/hashing_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/crypto/hashing_context.cpp b/core/crypto/hashing_context.cpp
index 157a0c091b..01acbdbc17 100644
--- a/core/crypto/hashing_context.cpp
+++ b/core/crypto/hashing_context.cpp
@@ -47,7 +47,7 @@ Error HashingContext::start(HashType p_type) {
return ERR_UNAVAILABLE;
}
-Error HashingContext::update(PackedByteArray p_chunk) {
+Error HashingContext::update(const PackedByteArray &p_chunk) {
ERR_FAIL_NULL_V(ctx, ERR_UNCONFIGURED);
size_t len = p_chunk.size();
ERR_FAIL_COND_V(len == 0, FAILED);