[generator] Optimize pre-processing stage: clear osm element
This commit is contained in:
parent
bb337ffbae
commit
765344777f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue