Skip to content

Commit ce161a4

Browse files
typo
1 parent f9cb135 commit ce161a4

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

include/aws/crt/Api.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ namespace Aws
9999
*/
100100
void SetBYOCryptoNewSHA512Callback(Crypto::CreateHashCallback &&callback);
101101

102-
103102
/**
104103
* BYO_CRYPTO: set callback for creating SHA1 hashes.
105104
* If using BYO_CRYPTO, you must call this.

include/aws/crt/checksum/XXHash.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
#include <aws/crt/Exports.h>
77
#include <aws/crt/Types.h>
88

9-
#include <aws/checksums/xxhash.h>
10-
11-
struct aws_hash;
9+
struct aws_xxhash;
1210
namespace Aws
1311
{
1412
namespace Crt

source/checksum/XXHash.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
5+
#include <aws/checksums/xxhash.h>
56
#include <aws/crt/checksum/XXHash.h>
67

78
namespace Aws
@@ -10,17 +11,17 @@ namespace Aws
1011
{
1112
namespace Checksum
1213
{
13-
bool ComputeXXhash64(const ByteCursor &input, ByteBuf &output, uint64_t seed = 0) noexcept
14+
bool ComputeXXHash64(const ByteCursor &input, ByteBuf &output, uint64_t seed) noexcept
1415
{
1516
return aws_xxhash64_compute(seed, input, &output) == AWS_OP_SUCCESS;
1617
}
1718

18-
bool ComputeXXhash3_64(const ByteCursor &input, ByteBuf &output, uint64_t seed = 0) noexcept
19+
bool ComputeXXHash3_64(const ByteCursor &input, ByteBuf &output, uint64_t seed) noexcept
1920
{
2021
return aws_xxhash3_64_compute(seed, input, &output) == AWS_OP_SUCCESS;
2122
}
2223

23-
bool ComputeXXhash3_128(const ByteCursor &input, ByteBuf &output, uint64_t seed = 0) noexcept
24+
bool ComputeXXHash3_128(const ByteCursor &input, ByteBuf &output, uint64_t seed) noexcept
2425
{
2526
return aws_xxhash3_128_compute(seed, input, &output) == AWS_OP_SUCCESS;
2627
}

0 commit comments

Comments
 (0)