diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2015-12-22 14:13:51 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:04:02 +0300 |
commit | a6df0746b8b6fe9e417d9242f2f7feda956d9894 (patch) | |
tree | 6ed83b30e00d78f116c644a5405d1c376a33077f /indexer/feature.cpp | |
parent | 832abf1f54c1466e7d547e7c9eaab4eb03c71d29 (diff) |
Code Review.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 124ef9e91b..78ec41ec1e 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -57,7 +57,7 @@ FeatureType FeatureType::FromXML(editor::XMLFeature const & xml) // EGeomType - // for (auto const i : range(feature.GetTypesCount())) + // for (auto const i : my::Range(feature.GetTypesCount())) // m_types[i] = // Does the order matter? If so what order should be? // TODO(mgsergio): Only features with single type are currently supported. @@ -65,7 +65,7 @@ FeatureType FeatureType::FromXML(editor::XMLFeature const & xml) feature.m_types[0] = classif().GetTypeByPath({"amenity", "atm"}); feature.m_bTypesParsed = true; - for (auto const i : my::range(1u, static_cast<uint32_t>(feature::Metadata::FMD_COUNT))) + for (auto const i : my::Range(1u, static_cast<uint32_t>(feature::Metadata::FMD_COUNT))) { auto const type = static_cast<feature::Metadata::EType>(i); auto const attributeName = DebugPrint(type); @@ -102,7 +102,7 @@ editor::XMLFeature FeatureType::ToXML() const // feature.m_params.layer = // feature.m_params.rank = - // for (auto const i : range(feature.GetTypesCount())) + // for (auto const i : my::Range(feature.GetTypesCount())) // m_types[i] = // Does the order matter? If so what order should be? // TODO(mgsergio): Only features with single type are currently supported. |