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:
authorvng <viktor.govako@gmail.com>2011-11-25 17:36:28 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:28:55 +0300
commit34e4fdeeef46b33abf61a41fce064a9d8dc22e16 (patch)
tree40972a8ae002194a363140212d39c83ccc288a1e /indexer/classificator.cpp
parent278bc7b91df20cdf038bd21e03d1fd16e631f6fd (diff)
Fix type to index mapping. Load file once.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r--indexer/classificator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp
index f010ad9572..ee98dfc95f 100644
--- a/indexer/classificator.cpp
+++ b/indexer/classificator.cpp
@@ -500,8 +500,7 @@ uint32_t Classificator::GetTypeByPath(vector<string> const & path) const
void Classificator::ReadTypesMapping(istream & s)
{
- m_i2t.Load(s);
- m_t2i.Load(s);
+ m_mapping.Load(s);
}
void Classificator::Clear()