diff --git a/generator/osm_source.cpp b/generator/osm_source.cpp index 7ef0f27..9564f39 100644 --- a/generator/osm_source.cpp +++ b/generator/osm_source.cpp @@ -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