diff options
author | Yuri Gorshenin <y@maps.me> | 2016-09-20 14:48:47 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-09-20 14:51:15 +0300 |
commit | e3b5e4575e74a97c00d4ae9abe53c7447f74d13b (patch) | |
tree | d9ff29ee4c19fd741a648c22365e04cf150443cc /indexer/features_vector.hpp | |
parent | 572db1c9e93f7995bb3a6d123e11c72d59fe3277 (diff) |
[indexer] Extensions to FeaturesVector.
Diffstat (limited to 'indexer/features_vector.hpp')
-rw-r--r-- | indexer/features_vector.hpp | 2 |
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; |