Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-07-08 15:50:49 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:55:45 +0300
commit24c7f556e1402dbd9f0f6fdddd10e9d54f0067cd (patch)
tree5207bfa725480ecfe1b4b03b6919bce8c29601d1 /indexer/mwm_set.hpp
parent0b6a49ad8f72d4cfd0f31ffb9fd02b6b67a459df (diff)
Tests for proper routing mapping mwm locking.
Diffstat (limited to 'indexer/mwm_set.hpp')
-rw-r--r--indexer/mwm_set.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/mwm_set.hpp b/indexer/mwm_set.hpp
index 23f5768837..7f28096c09 100644
--- a/indexer/mwm_set.hpp
+++ b/indexer/mwm_set.hpp
@@ -63,6 +63,9 @@ public:
MwmTypeT GetType() const;
+ /// Returns the lock counter value for test needs.
+ uint8_t GetLockCount() {return m_numRefs;}
+
private:
inline void SetStatus(Status status) { m_status = status; }