| 1090 | } |
| 1091 | |
| 1092 | Vehicle::Cars::CarIter::CarIter(const Car* carComponent) |
| 1093 | { |
| 1094 | if (carComponent == nullptr || carComponent->body == nullptr) |
| 1095 | { |
| 1096 | nextVehicleComponent = nullptr; |
| 1097 | return; |
| 1098 | } |
| 1099 | current = *carComponent; |
| 1100 | nextVehicleComponent = current.body->nextVehicleComponent(); |
| 1101 | } |
| 1102 | |
| 1103 | Vehicle::Cars::CarIter& Vehicle::Cars::CarIter::operator++() |
| 1104 | { |
nothing calls this directly
no test coverage detected