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>2012-05-31 03:18:37 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:39:09 +0300
commita65a9d2775ca0dfd0f4f2048ebfa311dfd566b20 (patch)
tree87491841e31368aa9976feb96ca65ecbe1d0800e /indexer/feature_data.hpp
parentae5e7ded22ce5409ca513ef0d8627cefbd5ec88b (diff)
[generator] Fix bug with skipping types for inner boundary relations
(Should skip only boundaries, not all types).
Diffstat (limited to 'indexer/feature_data.hpp')
-rw-r--r--indexer/feature_data.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indexer/feature_data.hpp b/indexer/feature_data.hpp
index 626194a0c3..31894a5c86 100644
--- a/indexer/feature_data.hpp
+++ b/indexer/feature_data.hpp
@@ -205,7 +205,11 @@ public:
uint8_t GetTypeMask() const;
inline void AddType(uint32_t t) { m_Types.push_back(t); }
- void AddTypes(FeatureParams const & rhs);
+
+ /// @param skipType2 Do not accumulate this type if skipType2 != 0.
+ /// '2' means 2-level type in classificator tree (also skip child types).
+ void AddTypes(FeatureParams const & rhs, uint32_t skipType2);
+
template <class TIter> void AssignTypes(TIter b, TIter e)
{
m_Types.assign(b, e);