mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
Whitespace changes (cleanup)
This commit is contained in:
Vendored
+1
-2
@@ -2214,11 +2214,10 @@ protected:
|
||||
return (size_t)-1;
|
||||
}
|
||||
|
||||
|
||||
template <class K>
|
||||
std::pair<size_t, bool> find_or_prepare_insert(const K& key, size_t hashval) {
|
||||
size_t offset = _find_key(key, hashval);
|
||||
if (offset == (size_t)-1)
|
||||
if (offset == (size_t)-1)
|
||||
return {prepare_insert(hashval), true};
|
||||
return {offset, false};
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -4879,7 +4879,6 @@ public:
|
||||
lock();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
mutex_type *m_;
|
||||
|
||||
Reference in New Issue
Block a user