diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2018-12-20 18:54:53 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2019-02-22 16:31:19 +0300 |
commit | d9440629916b1c1e133a3585f256f390b318a6a3 (patch) | |
tree | 7a6f618b50880f9176dc74a8f155400f6ec110bb /indexer | |
parent | e56537d5bd32ac798053e572672512d373e3d7be (diff) |
[routing] Fix searching closest camera on route + hightlitingpy-modules-0.2.10
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/ftypes_matcher.hpp | 28 |
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 |