changeset 5423 | 79ff6ad1adbb |
parent 5184 | a109c38131dd |
child 5473 | 3827a2a06b38 |
--- a/src/devices/mesh/dot11s/ie-dot11s-preq.cc Thu Oct 15 14:10:02 2009 +0400 +++ b/src/devices/mesh/dot11s/ie-dot11s-preq.cc Thu Oct 15 14:32:19 2009 +0400 @@ -373,16 +373,11 @@ void IePreq::ClearDestinationAddressElements () { - int i; for (std::vector<Ptr<DestinationAddressUnit> >::iterator j = m_destinations.begin (); j != m_destinations.end (); j++) { (*j) = 0; } - for (i = 0; i < m_destCount; i++) - { - m_destinations.pop_back (); - } m_destinations.clear (); m_destCount = 0; }