diff options
-rw-r--r-- | indexer/feature.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 7d871105e9..54eaa6bf9a 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -86,9 +86,7 @@ void FeatureType::ApplyPatch(editor::XMLFeature const & xml) } m_bMetadataParsed = true; - // TODO(mgsergio): Get types count from xml. - auto constexpr kOnlyOneTypeCount = 1; - m_header = CalculateHeader(kOnlyOneTypeCount, Header() & HEADER_GEOTYPE_MASK, m_params); + m_header = CalculateHeader(GetTypesCount(), Header() & HEADER_GEOTYPE_MASK, m_params); m_bHeader2Parsed = true; } |