aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-crt-cpp/source/StringUtils.cpp
blob: 5c6984f6288e13f086648c3e7baa4778b6078e09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
#include <aws/crt/StringUtils.h>

#include <aws/common/hash_table.h>

namespace Aws
{
    namespace Crt
    {
        size_t HashString(const char *str) noexcept { return (size_t)aws_hash_c_string(str); }
    } // namespace Crt
} // namespace Aws