[generator] Added forgotten ref.

This commit is contained in:
Maksim Andrianov 2019-10-29 12:57:03 +03:00 committed by mpimenov
parent e8a5bdfbf9
commit 5cbe72368a

View file

@ -185,7 +185,7 @@ bool ProcessorOsmElementsFromO5M::TryRead(OsmElement & element)
// iterating in loop. Furthermore, into Tags() method calls Nodes.Skip() and Members.Skip(),
// thus first call of Nodes (Members) after Tags() will not return any results.
// So don not reorder the "for" loops (!).
auto const entity = *m_pos;
auto const & entity = *m_pos;
element.m_id = entity.id;
switch (entity.type)
{