diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp index fe859ef5d9..111f2e1cff 100644 --- a/indexer/feature_data.cpp +++ b/indexer/feature_data.cpp @@ -322,6 +322,7 @@ bool FeatureParams::FinishAddingTypes() static uint32_t const boundary = classif().GetTypeByPath({ "boundary", "administrative" }); vector newTypes; + newTypes.reserve(m_Types.size()); for (size_t i = 0; i < m_Types.size(); ++i) {