From 50728fecb3f17d148dac419c219ef06e77eadd16 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 18 Apr 2007 19:16:03 +0200 Subject: [PATCH] fix coding style --- src/common/tags.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/tags.cc b/src/common/tags.cc index 39b0321da..044d96e65 100644 --- a/src/common/tags.cc +++ b/src/common/tags.cc @@ -38,18 +38,18 @@ TagRegistry::LookupUid (std::string uuid) { if (!m_sorted) { - std::sort (m_registry.begin (), m_registry.end ()); - m_sorted = true; + std::sort (m_registry.begin (), m_registry.end ()); + m_sorted = true; } NS_ASSERT (m_sorted); uint32_t uid = 1; for (TagsDataCI i = m_registry.begin (); i != m_registry.end (); i++) { - if (i->first == uuid) + if (i->first == uuid) { - return uid; + return uid; } - uid++; + uid++; } // someone asked for a uid for an unregistered uuid. NS_ASSERT (!"You tried to use unregistered tag: make sure you create an instance of type TagRegistration."); @@ -65,7 +65,7 @@ TagRegistry::PrettyPrint (uint32_t uid, uint8_t buf[Tags::SIZE], std::ostream &o PrettyPrinter prettyPrinter = m_registry[index].second; if (prettyPrinter != 0) { - prettyPrinter (buf, os); + prettyPrinter (buf, os); } }