[generator] Optimize pre-processing stage: clear osm element

This commit is contained in:
Anatoly Serdtcev 2019-10-28 18:50:39 +03:00 committed by Sergey Yershov
parent bb337ffbae
commit 765344777f

View file

@ -187,7 +187,7 @@ bool ProcessorOsmElementsFromO5M::TryRead(OsmElement & element)
}
};
element = {};
element.Clear();
// Be careful, we could call Nodes(), Members(), Tags() from O5MSource::Entity
// only once (!). Because these functions read data from file simultaneously with