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:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-10-03 15:59:02 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:03:17 +0300
commita652c48021d7feb65d8b4bd309abca8470b8bc48 (patch)
tree5528a1e90597c87cdb730b37dea65a3eef962b11 /indexer/drawing_rules.cpp
parent74b80de5e3c101a77b615121d9352d68135f067d (diff)
[indexer] remove obsolete ID2
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r--indexer/drawing_rules.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp
index 601bd5f889..4eea7e4dd9 100644
--- a/indexer/drawing_rules.cpp
+++ b/indexer/drawing_rules.cpp
@@ -23,9 +23,6 @@ void BaseRule::CheckCacheSize(size_t s)
{
m_id1.resize(s);
MakeEmptyID();
-
- m_id2.resize(s);
- MakeEmptyID2();
}
uint32_t BaseRule::GetID(size_t threadSlot) const
@@ -52,30 +49,6 @@ void BaseRule::MakeEmptyID()
MakeEmptyID(i);
}
-uint32_t BaseRule::GetID2(size_t threadSlot) const
-{
- ASSERT(m_id2.size() > threadSlot, ());
- return m_id2[threadSlot];
-}
-
-void BaseRule::SetID2(size_t threadSlot, uint32_t id) const
-{
- ASSERT(m_id2.size() > threadSlot, ());
- m_id2[threadSlot] = id;
-}
-
-void BaseRule::MakeEmptyID2(size_t threadSlot)
-{
- ASSERT(m_id2.size() > threadSlot, ());
- m_id2[threadSlot] = empty_id;
-}
-
-void BaseRule::MakeEmptyID2()
-{
- for (size_t i = 0; i < m_id2.size(); ++i)
- MakeEmptyID2(i);
-}
-
LineDefProto const * BaseRule::GetLine() const
{
return 0;
@@ -151,7 +124,6 @@ BaseRule const * RulesHolder::Find(Key const & k) const
void RulesHolder::ClearCaches()
{
ForEachRule(bind(&BaseRule::MakeEmptyID, _4));
- ForEachRule(bind(&BaseRule::MakeEmptyID2, _4));
}
void RulesHolder::ResizeCaches(size_t s)