| 1058 | } |
| 1059 | |
| 1060 | Car::CarComponentIter::CarComponentIter(const CarComponent* carComponent) |
| 1061 | { |
| 1062 | if (carComponent == nullptr) |
| 1063 | { |
| 1064 | nextVehicleComponent = nullptr; |
| 1065 | return; |
| 1066 | } |
| 1067 | current = *carComponent; |
| 1068 | nextVehicleComponent = current.body->nextVehicleComponent(); |
| 1069 | } |
| 1070 | |
| 1071 | Car::CarComponentIter& Car::CarComponentIter::operator++() |
| 1072 | { |
nothing calls this directly
no test coverage detected