From 13647376da6c70cf40bd3b29d42d56165670e149 Mon Sep 17 00:00:00 2001 From: greg7mdp Date: Sun, 19 Nov 2023 17:39:27 -0500 Subject: [PATCH] Remove some unnecessary `typenames` --- include/gtl/phmap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gtl/phmap.hpp b/include/gtl/phmap.hpp index 18e578e..69494dd 100644 --- a/include/gtl/phmap.hpp +++ b/include/gtl/phmap.hpp @@ -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