diff options
author | vng <viktor.govako@gmail.com> | 2011-11-25 17:36:28 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:28:55 +0300 |
commit | 34e4fdeeef46b33abf61a41fce064a9d8dc22e16 (patch) | |
tree | 40972a8ae002194a363140212d39c83ccc288a1e /indexer/classificator.cpp | |
parent | 278bc7b91df20cdf038bd21e03d1fd16e631f6fd (diff) |
Fix type to index mapping. Load file once.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 3 |
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() |