Skip to content

Commit

Permalink
Remove some unnecessary typenames
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Nov 19, 2023
1 parent 355a6ef commit 1364737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gtl/phmap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4349,7 +4349,7 @@ class parallel_hash_set {
ReadWriteLock& mutexlock) {
Inner& inner = sets_[subidx(hashval)];
auto& set = inner.set_;
mutexlock = std::move(typename Lockable::ReadWriteLock(inner));
mutexlock = std::move(ReadWriteLock(inner));
size_t offset = set._find_key(key, hashval);
if (offset == (size_t)-1 && mutexlock.switch_to_unique()) {
// we did an unlock/lock, and another thread could have inserted the same key, so we need to
Expand Down

0 comments on commit 1364737

Please sign in to comment.