removed unnecessary mutable

This commit is contained in:
joaquintides
2023-03-18 10:13:53 +01:00
committed by Christian Mazakas
parent 1d8c0f91f8
commit a89c62728a

View File

@@ -65,7 +65,7 @@ public:
void unlock()noexcept{for(auto n=N;n>0;)mutexes[--n].unlock();} void unlock()noexcept{for(auto n=N;n>0;)mutexes[--n].unlock();}
private: private:
mutable std::array<Mutex,N> mutexes; std::array<Mutex,N> mutexes;
}; };
/* std::shared_lock is C++14 */ /* std::shared_lock is C++14 */