From b1df4211dae17bcb0b06b75697508b9bcc0deabb Mon Sep 17 00:00:00 2001 From: Sergey Magidovich Date: Fri, 25 Dec 2015 14:25:29 +0300 Subject: [PATCH] Fix wrong enum type assignment. --- indexer/osm_editor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index 238560fec7..823165e3be 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -425,9 +425,7 @@ vector Editor::EditableMetadataForType(FeatureType const & feat TTypes types; feature.ForEachType([&types](uint32_t type) { types.push_back(type); }); // TODO(mgsergio): Only one-typed features are now supported. - if (types.size() != 1 || - feature.GetFeatureType() != feature::HEADER_GEOM_POINT || - feature.GetFeatureType() != feature::HEADER_GEOM_POINT_EX) + if (types.size() != 1 || feature.GetFeatureType() != feature::GEOM_POINT) return {}; // Enable opening hours for the first release.