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