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:
authorYuri Gorshenin <y@maps.me>2016-09-20 14:48:47 +0300
committerYuri Gorshenin <y@maps.me>2016-09-20 14:51:15 +0300
commite3b5e4575e74a97c00d4ae9abe53c7447f74d13b (patch)
treed9ff29ee4c19fd741a648c22365e04cf150443cc /indexer/features_vector.hpp
parent572db1c9e93f7995bb3a6d123e11c72d59fe3277 (diff)
[indexer] Extensions to FeaturesVector.
Diffstat (limited to 'indexer/features_vector.hpp')
-rw-r--r--indexer/features_vector.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/features_vector.hpp b/indexer/features_vector.hpp
index 6daf2eb093..d19b772fcf 100644
--- a/indexer/features_vector.hpp
+++ b/indexer/features_vector.hpp
@@ -22,6 +22,8 @@ public:
void GetByIndex(uint32_t index, FeatureType & ft) const;
+ size_t GetNumFeatures() const;
+
template <class ToDo> void ForEach(ToDo && toDo) const
{
uint32_t index = 0;