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:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2018-12-20 18:54:53 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2019-02-22 16:31:19 +0300
commitd9440629916b1c1e133a3585f256f390b318a6a3 (patch)
tree7a6f618b50880f9176dc74a8f155400f6ec110bb
parente56537d5bd32ac798053e572672512d373e3d7be (diff)
[routing] Fix searching closest camera on route + hightlitingpy-modules-0.2.10
-rw-r--r--indexer/ftypes_matcher.hpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/indexer/ftypes_matcher.hpp b/indexer/ftypes_matcher.hpp
index c9e7fa6d87..5747d91786 100644
--- a/indexer/ftypes_matcher.hpp
+++ b/indexer/ftypes_matcher.hpp
@@ -195,20 +195,20 @@ class WikiChecker : public BaseChecker
{
WikiChecker();
public:
- static std::set<std::pair<std::string, std::string>> const kTypesForWiki;
-
- DECLARE_CHECKER_INSTANCE(WikiChecker);
-
- template <typename Ft>
- bool NeedFeature(Ft & feature) const
- {
- bool need = false;
- feature.ForEachType([&](uint32_t type) {
- if (!need && IsMatched(type))
- need = true;
- });
- return need;
- }
+ static std::set<std::pair<std::string, std::string>> const kTypesForWiki;
+
+ DECLARE_CHECKER_INSTANCE(WikiChecker);
+
+ template <typename Ft>
+ bool NeedFeature(Ft & feature) const
+ {
+ bool need = false;
+ feature.ForEachType([&](uint32_t type) {
+ if (!need && IsMatched(type))
+ need = true;
+ });
+ return need;
+ }
};
class IsPlaceChecker : public BaseChecker