mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 08:32:13 +11:00
10 lines
No EOL
293 B
C++
10 lines
No EOL
293 B
C++
#include "xxhash_str.h"
|
|
|
|
XXH64_hash_t xxHashStringGen::operator()(const std::string &str) const noexcept
|
|
{
|
|
return XXH3_64bits(str.data(), str.size());
|
|
}
|
|
XXH64_hash_t xxHashStringGen::operator()(const std::string_view &str) const noexcept
|
|
{
|
|
return XXH3_64bits(str.data(), str.size());
|
|
} |