mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
removed unnecessary mutable
This commit is contained in:
committed by
Christian Mazakas
parent
1d8c0f91f8
commit
a89c62728a
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user