--------------------------------------------------------------------
| 141 | // -------------------------------------------------------------------- |
| 142 | // |
| 143 | G4VProcess* G4ProcessVector::removeAt(G4int i) |
| 144 | { |
| 145 | auto it=pProcVector->cbegin(); |
| 146 | for(std::size_t j=0; j<pProcVector->size() && G4int(j)<i; ++j) ++it; |
| 147 | G4VProcess* rValue = *it; |
| 148 | pProcVector->erase(it); |
| 149 | return rValue; |
| 150 | } |
no test coverage detected