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:
authorvng <viktor.govako@gmail.com>2014-11-04 19:07:39 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:32:15 +0300
commit39818e3e081419e1307017bf90acc9a886eb64b8 (patch)
tree3f91418e9da94e0b781bb7c89a4aadddc57c9f37 /indexer/feature.hpp
parentd9010aaa5936878077242bc75d12c98d81754def (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.hpp6
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());