mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 09:02:14 +11:00
11 lines
No EOL
308 B
C++
11 lines
No EOL
308 B
C++
#include "xxhash_str.h"
|
|
#include <iostream>
|
|
|
|
XXH64_hash_t xxHashStringGen::operator()(const std::string &str) const noexcept
|
|
{
|
|
return XXH3_64bits(str.data(), str.size());
|
|
}
|
|
XXH64_hash_t xxHashStringGen::operator()(std::string_view &&str) const noexcept
|
|
{
|
|
return XXH3_64bits(str.data(), str.size());
|
|
} |