Merge pull request #150 from stdpain/master

fix wrong function type for parallel_hash_set::lazy_emplace_with_hash
This commit is contained in:
Gregory Popovitch
2022-06-21 15:50:57 +02:00
committed by GitHub
+1 -1
View File
@@ -3103,7 +3103,7 @@ public:
}
template <class K = key_type, class F>
iterator lazy_emplace_with_hash(size_t hashval, const key_arg<K>& key, F&& f) {
iterator lazy_emplace_with_hash(const key_arg<K>& key, size_t hashval, F&& f) {
Inner& inner = sets_[subidx(hashval)];
auto& set = inner.set_;
typename Lockable::UniqueLock m(inner);