coding style
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 24 Apr 2009 09:04:39 +0200
changeset 4400 18ba3459e177
parent 4399 3858687497ce
child 4401 427cec7079f3
coding style
src/devices/wifi/mac-tx-middle.cc
--- a/src/devices/wifi/mac-tx-middle.cc	Fri Apr 24 08:57:04 2009 +0200
+++ b/src/devices/wifi/mac-tx-middle.cc	Fri Apr 24 09:04:39 2009 +0200
@@ -33,8 +33,7 @@
 
 MacTxMiddle::~MacTxMiddle ()
 {
-  std::map<Mac48Address,uint16_t*>::iterator i = m_qosSequences.begin();
-  for (; i != m_qosSequences.end (); i++)
+  for (std::map<Mac48Address,uint16_t*>::iterator i = m_qosSequences.begin(); i != m_qosSequences.end (); i++)
     {
       delete [] i->second;
     }
@@ -63,7 +62,9 @@
           std::pair <std::map<Mac48Address,uint16_t*>::iterator,bool> newIns = m_qosSequences.insert (newSeq);
           NS_ASSERT(newIns.second == true);
           for (uint8_t i = 0; i < 16; i++)
-            newIns.first->second[i] = 0;
+            {
+              newIns.first->second[i] = 0;
+            }
           newIns.first->second[tid]++;
         }
     }