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>2012-03-05 01:11:19 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:36:22 +0300
commit5fe11e0b5ef6b8884e4bfa01e037d1acca735143 (patch)
tree0e918dc00386b3abc312d62ee33ef3af9f0901da /indexer/categories_holder.cpp
parentd57815a04db47969278ad2731f48bf5e68c61963 (diff)
[search] Use spaces in synonyms. Do map whole synonym string and separate tokens.
Fix.
Diffstat (limited to 'indexer/categories_holder.cpp')
-rw-r--r--indexer/categories_holder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/categories_holder.cpp b/indexer/categories_holder.cpp
index f62746931e..69fa7670ef 100644
--- a/indexer/categories_holder.cpp
+++ b/indexer/categories_holder.cpp
@@ -45,7 +45,7 @@ void CategoriesHolder::AddCategory(Category & cat, vector<uint32_t> & types)
StringT const uniName = search::NormalizeAndSimplifyString(p->m_synonyms[i].m_name);
vector<StringT> tokens;
- SplitUniString(uniName, MakeBackInsertFunctor(tokens), search::CategoryDelimiters());
+ SplitUniString(uniName, MakeBackInsertFunctor(tokens), search::Delimiters());
for (size_t j = 0; j < tokens.size(); ++j)
for (size_t k = 0; k < types.size(); ++k)