From 20886539a0eeb5bc4d4d3787e9bac4464f127798 Mon Sep 17 00:00:00 2001 From: vng Date: Wed, 14 Oct 2015 18:27:06 +0300 Subject: [PATCH] Fixed formatting. --- generator/osm_xml_source.hpp | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/generator/osm_xml_source.hpp b/generator/osm_xml_source.hpp index 074fce774f..3789d55df6 100644 --- a/generator/osm_xml_source.hpp +++ b/generator/osm_xml_source.hpp @@ -78,17 +78,18 @@ public: default: switch (m_child.type) - { - case OsmElement::EntityType::Member: - m_parent.AddMember(m_child.ref, m_child.memberType, m_child.role); - break; - case OsmElement::EntityType::Tag: - m_parent.AddTag(m_child.k, m_child.v); - break; - case OsmElement::EntityType::Nd: - m_parent.AddNd(m_child.ref); - default: break; - } + { + case OsmElement::EntityType::Member: + m_parent.AddMember(m_child.ref, m_child.memberType, m_child.role); + break; + case OsmElement::EntityType::Tag: + m_parent.AddTag(m_child.k, m_child.v); + break; + case OsmElement::EntityType::Nd: + m_parent.AddNd(m_child.ref); + default: + break; + } m_current = &m_parent; m_child.Clear(); }