diff options
author | vng <viktor.govako@gmail.com> | 2014-11-04 19:07:39 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:32:15 +0300 |
commit | 39818e3e081419e1307017bf90acc9a886eb64b8 (patch) | |
tree | 3f91418e9da94e0b781bb7c89a4aadddc57c9f37 /indexer/feature.hpp | |
parent | d9010aaa5936878077242bc75d12c98d81754def (diff) |
[tests] Check that feature has nonempty geometry if it’s stored in geometry index for the particular scale.
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r-- | indexer/feature.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp index 94b89613de..964508cd85 100644 --- a/indexer/feature.hpp +++ b/indexer/feature.hpp @@ -221,6 +221,12 @@ public: } template <typename FunctorT> + void ForEachTriangle(FunctorT f, int scale) const + { + ForEachTriangleRef(f, scale); + } + + template <typename FunctorT> void ForEachTriangleExRef(FunctorT & f, int scale) const { f.StartPrimitive(m_triangles.size()); |