equal
deleted
inserted
replaced
371 } |
371 } |
372 } |
372 } |
373 void |
373 void |
374 IePreq::ClearDestinationAddressElements () |
374 IePreq::ClearDestinationAddressElements () |
375 { |
375 { |
376 int i; |
|
377 for (std::vector<Ptr<DestinationAddressUnit> >::iterator j = m_destinations.begin (); j |
376 for (std::vector<Ptr<DestinationAddressUnit> >::iterator j = m_destinations.begin (); j |
378 != m_destinations.end (); j++) |
377 != m_destinations.end (); j++) |
379 { |
378 { |
380 (*j) = 0; |
379 (*j) = 0; |
381 } |
|
382 for (i = 0; i < m_destCount; i++) |
|
383 { |
|
384 m_destinations.pop_back (); |
|
385 } |
380 } |
386 m_destinations.clear (); |
381 m_destinations.clear (); |
387 m_destCount = 0; |
382 m_destCount = 0; |
388 } |
383 } |
389 bool |
384 bool |