fix coding style
authormathieu@mathieu.inria.fr
Wed, 18 Apr 2007 19:16:03 +0200
changeset 430 a58fc16bf0ef
parent 429 da0f29b0236e
child 431 2a342cacddf4
fix coding style
src/common/tags.cc
--- a/src/common/tags.cc	Wed Apr 18 19:14:57 2007 +0200
+++ b/src/common/tags.cc	Wed Apr 18 19:16:03 2007 +0200
@@ -38,18 +38,18 @@
 {
   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<YouTagType>.");
@@ -65,7 +65,7 @@
   PrettyPrinter prettyPrinter = m_registry[index].second;
   if (prettyPrinter != 0) 
     {
-  	prettyPrinter (buf, os);
+      prettyPrinter (buf, os);
     }
 }