We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb6a86 commit 02e7569Copy full SHA for 02e7569
source/checksum/XXHash.cpp
@@ -52,7 +52,7 @@ namespace Aws
52
53
bool XXHash::Update(const ByteCursor &toHash) noexcept
54
{
55
- if (AWS_OP_SUCCESS != aws_xxhash_update(m_hash, toHash))
+ if (AWS_OP_SUCCESS != aws_xxhash_update(m_hash.get(), toHash))
56
57
m_lastError = aws_last_error();
58
return false;
@@ -62,7 +62,7 @@ namespace Aws
62
63
bool XXHash::Digest(ByteBuf &output) noexcept
64
65
- if (aws_xxhash_finalize(m_hash, &output) != AWS_OP_SUCCESS)
+ if (aws_xxhash_finalize(m_hash.get(), &output) != AWS_OP_SUCCESS)
66
67
68
0 commit comments