diff --git a/include/bank.hpp b/include/bank.hpp index 03d364d..e17e000 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -167,7 +167,6 @@ public: //we know it contains this key but we call this func to grab mutex temp[i++] = u.first; } - size_lock.unlock_shared(); std::unique_lock lock{size_lock}; size_lock_flag = false; }