mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Update atomic_uint nsdmi to eschew potentially deleted copy constructor
This commit is contained in:
@ -823,7 +823,7 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* TODO: thread_counter should be static */
|
/* TODO: thread_counter should be static */
|
||||||
mutable std::atomic_uint thread_counter=0;
|
mutable std::atomic_uint thread_counter{0};
|
||||||
mutable multimutex_type mutexes;
|
mutable multimutex_type mutexes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user