src/routing/global-routing/global-route-manager-impl.cc
changeset 1301 440379945254
parent 1282 d44568322810
child 1302 7dd6ea991e80
child 1381 6dd346ffeddc
--- a/src/routing/global-routing/global-route-manager-impl.cc	Tue Aug 28 13:03:08 2007 +0200
+++ b/src/routing/global-routing/global-route-manager-impl.cc	Tue Aug 28 14:09:52 2007 +0200
@@ -337,8 +337,7 @@
 {
   NS_DEBUG ("GlobalRouteManagerImpl::SelectRouterNodes ()");
 
-  typedef std::vector < Ptr<Node> >::iterator Iterator;
-  for (Iterator i = NodeList::Begin (); i != NodeList::End (); i++)
+  for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); i++)
     {
       Ptr<Node> node = *i;
       NS_DEBUG ("GlobalRouteManagerImpl::SelectRouterNodes (): "
@@ -366,8 +365,7 @@
 //
 // Walk the list of nodes looking for the GlobalRouter Interface.
 //
-  typedef std::vector < Ptr<Node> >::iterator Iterator;
-  for (Iterator i = NodeList::Begin (); i != NodeList::End (); i++)
+  for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); i++)
     {
       Ptr<Node> node = *i;
 
@@ -448,8 +446,7 @@
 //
 // Walk the list of nodes in the system.
 //
-  typedef std::vector < Ptr<Node> >::iterator Iterator;
-  for (Iterator i = NodeList::Begin (); i != NodeList::End (); i++)
+  for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); i++)
     {
       Ptr<Node> node = *i;
 //