- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/parton_string/qgsm/src/G4QGSParticipants.cc
r819 r962 262 262 std::vector<G4InteractionContent*>::iterator i; 263 263 G4LorentzVector str4Mom; 264 for(i = theInteractions.begin(); i != theInteractions.end(); i++) 264 i = theInteractions.begin(); 265 while ( i != theInteractions.end() ) 265 266 { 266 267 G4InteractionContent* anIniteraction = *i; … … 304 305 } 305 306 delete *i; 306 i=theInteractions.erase(i); 307 i--; 308 } 307 i=theInteractions.erase(i); // i now points to the next interaction 308 } else { 309 i++; 310 } 309 311 } 310 312 #ifdef debug_G4QGSPart_PSoftColl
Note: See TracChangeset
for help on using the changeset viewer.