From 46b5341027e9877b88ef3f9f5fb5af8027933cf5 Mon Sep 17 00:00:00 2001 From: vng Date: Fri, 30 Aug 2013 20:17:17 +0300 Subject: [PATCH] Assume "lit" type as useless for POI. --- indexer/feature_data.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp index 4927d36ba0..bb6f6cc429 100644 --- a/indexer/feature_data.cpp +++ b/indexer/feature_data.cpp @@ -49,12 +49,12 @@ public: { Classificator const & c = classif(); - char const * arr1[][1] = { { "building" }, { "oneway" } }; + char const * arr1[][1] = { { "building" }, { "oneway" }, { "lit" } }; for (size_t i = 0; i < ARRAY_SIZE(arr1); ++i) m_types.push_back(c.GetTypeByPath(vector(arr1[i], arr1[i] + 1))); } - bool operator()(uint32_t t) const + bool operator() (uint32_t t) const { return (find(m_types.begin(), m_types.end(), t) != m_types.end()); }