diff options
author | Yuri Gorshenin <y@maps.me> | 2017-10-17 15:16:26 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2017-10-17 19:10:29 +0300 |
commit | 18caeab025d968d6d908027cc268182fdbc43dbd (patch) | |
tree | 1e8d1e9e22cb5044ba4d2a428961e988653b3567 /indexer/index.hpp | |
parent | c002ee258b21c2d04bfa73c94aeadce442b44989 (diff) |
[search] Usage of CitiesBoundaries in LocalityFinder.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r-- | indexer/index.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index 0f1f55e685..f32538d0d4 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -232,6 +232,12 @@ public: ForEachInIntervals(implFunctor, covering::FullCover, m2::RectD::GetInfiniteRect(), scale); } + template <typename F> + void ReadFeature(F && f, FeatureID const & feature) const + { + return ReadFeatures(forward<F>(f), {feature}); + } + // "features" must be sorted using FeatureID::operator< as predicate. template <typename F> void ReadFeatures(F && f, std::vector<FeatureID> const & features) const |