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:
authorrachytski <siarhei.rachytski@gmail.com>2011-11-21 17:46:45 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:28:28 +0300
commite3d4839aa71ad7627fbba6abe38ac35ed293717d (patch)
treee14ec8225b6f31b56ad5f323674864fabb3a62ac /indexer/drawing_rules.hpp
parentf0e8ad486e71e80d3fcf0a7b4b7512c8c617e430 (diff)
closes issue #420
Diffstat (limited to 'indexer/drawing_rules.hpp')
-rw-r--r--indexer/drawing_rules.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indexer/drawing_rules.hpp b/indexer/drawing_rules.hpp
index 310c10e535..1cba4b0bcd 100644
--- a/indexer/drawing_rules.hpp
+++ b/indexer/drawing_rules.hpp
@@ -59,6 +59,12 @@ namespace drule
m_id1[threadID] = empty_id;
}
+ void MakeEmptyID()
+ {
+ for (size_t i = 0; i < m_id1.size(); ++i)
+ MakeEmptyID(i);
+ }
+
uint32_t GetID2(size_t threadID) const
{
CheckSize(m_id2, threadID + 1);
@@ -76,6 +82,12 @@ namespace drule
CheckSize(m_id2, threadID + 1);
m_id2[threadID] = empty_id;
}
+
+ void MakeEmptyID2()
+ {
+ for (size_t i = 0; i < m_id2.size(); ++i)
+ MakeEmptyID2(i);
+ }
//@}
void SetClassName(string const & cl) { m_class = cl; }