StringUtils.cpp 365 B

123456789101112131415
  1. /**
  2. * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  3. * SPDX-License-Identifier: Apache-2.0.
  4. */
  5. #include <aws/crt/StringUtils.h>
  6. #include <aws/common/hash_table.h>
  7. namespace Aws
  8. {
  9. namespace Crt
  10. {
  11. size_t HashString(const char *str) noexcept { return (size_t)aws_hash_c_string(str); }
  12. } // namespace Crt
  13. } // namespace Aws