forked from organicmaps/organicmaps
Atomic status for a MwmSet.
This commit is contained in:
parent
f35e9c04e7
commit
814f8ba857
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "base/macros.hpp"
|
||||
|
||||
#include "std/atomic.hpp"
|
||||
#include "std/deque.hpp"
|
||||
#include "std/map.hpp"
|
||||
#include "std/mutex.hpp"
|
||||
|
@ -71,7 +72,7 @@ private:
|
|||
inline void SetStatus(Status status) { m_status = status; }
|
||||
|
||||
platform::LocalCountryFile m_file; ///< Path to the mwm file.
|
||||
Status m_status; ///< Current country status.
|
||||
atomic<Status> m_status; ///< Current country status.
|
||||
uint8_t m_numRefs; ///< Number of active handles.
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue