Skip to content

Commit 02e7569

Browse files
getter
1 parent deb6a86 commit 02e7569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/checksum/XXHash.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace Aws
5252

5353
bool XXHash::Update(const ByteCursor &toHash) noexcept
5454
{
55-
if (AWS_OP_SUCCESS != aws_xxhash_update(m_hash, toHash))
55+
if (AWS_OP_SUCCESS != aws_xxhash_update(m_hash.get(), toHash))
5656
{
5757
m_lastError = aws_last_error();
5858
return false;
@@ -62,7 +62,7 @@ namespace Aws
6262

6363
bool XXHash::Digest(ByteBuf &output) noexcept
6464
{
65-
if (aws_xxhash_finalize(m_hash, &output) != AWS_OP_SUCCESS)
65+
if (aws_xxhash_finalize(m_hash.get(), &output) != AWS_OP_SUCCESS)
6666
{
6767
m_lastError = aws_last_error();
6868
return false;

0 commit comments

Comments
 (0)