diff options
author | Yuri Gorshenin <y@maps.me> | 2016-06-03 00:29:19 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-06-03 16:26:12 +0300 |
commit | 85ee45b48220988cb098e20268000d361434c4e2 (patch) | |
tree | 9f03f1c87d5c2fbae98821efde4029b7a6e17e15 /indexer/mwm_set.hpp | |
parent | 573021d80952bb9b82af4bac6b03622c7231b936 (diff) |
Review fixes.
Diffstat (limited to 'indexer/mwm_set.hpp')
-rw-r--r-- | indexer/mwm_set.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/mwm_set.hpp b/indexer/mwm_set.hpp index 9423077689..c924f5dd97 100644 --- a/indexer/mwm_set.hpp +++ b/indexer/mwm_set.hpp @@ -24,8 +24,8 @@ class MwmInfo { public: - friend class MwmSet; friend class Index; + friend class MwmSet; enum MwmTypeT { @@ -69,7 +69,7 @@ public: /// Returns the lock counter value for test needs. uint8_t GetNumRefs() const { return m_numRefs; } -private: +protected: inline Status SetStatus(Status status) { Status result = m_status; @@ -79,7 +79,7 @@ private: platform::LocalCountryFile m_file; ///< Path to the mwm file. atomic<Status> m_status; ///< Current country status. - uint8_t m_numRefs; ///< Number of active handles. + uint32_t m_numRefs; ///< Number of active handles. }; class MwmSet |