mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
flat_hash_map test passes
This commit is contained in:
Vendored
+2
-3
@@ -47,10 +47,9 @@ template <class T> T phmap_max(T a, T b) { return a >= b ? a : b; }
|
||||
template <class T>
|
||||
struct Hash
|
||||
{
|
||||
inline size_t operator()(const T &__v) const noexcept
|
||||
inline size_t operator()(const T& __v) noexcept
|
||||
{
|
||||
PHMAP_HASH_CLASS<T> hasher;
|
||||
return hasher(__v);
|
||||
return PHMAP_HASH_CLASS<T>()(__v);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user