diff options
author | Maxim Pimenov <m@maps.me> | 2016-01-06 20:32:31 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:03:30 +0300 |
commit | ba145c115de9f6172cd54b3840a3ed15d36f73b8 (patch) | |
tree | 38d7028360cc1fcd897d5e8f6f042e133a66eef0 /indexer/feature.hpp | |
parent | 72a1ad30b93b92756c260ab5cad4134413514f6a (diff) |
[search] [indexer] Do not index streets by tokens synonymous to "street".
It is enough to index them in the categories branch of the trie.
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r-- | indexer/feature.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp index 4b4b4a1195..b64face4a3 100644 --- a/indexer/feature.hpp +++ b/indexer/feature.hpp @@ -80,7 +80,7 @@ public: */ template <class T> - inline bool ForEachNameRef(T & functor) const + inline bool ForEachNameRef(T && functor) const { if (!HasName()) return false; |