Skip to content

Commit

Permalink
Whitespace changes (cleanup)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Nov 19, 2023
1 parent 0046905 commit 2ee4455
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions parallel_hashmap/phmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -2214,11 +2214,10 @@ class raw_hash_set
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};
}
Expand Down
1 change: 0 additions & 1 deletion parallel_hashmap/phmap_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -4879,7 +4879,6 @@ class LockableBaseImpl
lock();
return true;
}


private:
mutex_type *m_;
Expand Down

0 comments on commit 2ee4455

Please sign in to comment.