We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GTL_DISABLE_MIX
1 parent 2886f96 commit b19d1a7Copy full SHA for b19d1a7
include/gtl/phmap.hpp
@@ -2520,7 +2520,11 @@ class raw_hash_set {
2520
struct HashElement {
2521
template<class K, class... Args>
2522
size_t operator()(const K& key, Args&&...) const {
2523
+#if GTL_DISABLE_MIX
2524
+ return h(key);
2525
+#else
2526
return phmap_mix<sizeof(size_t)>()(static_cast<size_t>(h(key)));
2527
+#endif
2528
}
2529
const hasher& h;
2530
};
@@ -4309,7 +4313,11 @@ class parallel_hash_set {
4309
4313
4310
4314
4311
4315
4316
4317
4318
4312
4319
return phmap_mix<sizeof(size_t)>()(h(key));
4320
4321
4322
4323
0 commit comments