1
0
Fork 0

Use nullptr instead of NULL

This commit is contained in:
Ganael Laplanche 2018-09-02 14:17:26 +02:00
parent 2756735d0c
commit 63d6f0218b

View file

@ -93,7 +93,7 @@ bool FGAIFlightPlan::createPushBack(FGAIAircraft *ac,
FGGroundNetwork* groundNet = dep->groundNetwork();
FGParking *parking = gate.parking();
if (parking && parking->getPushBackPoint() != NULL) {
if (parking && parking->getPushBackPoint() != nullptr) {
FGTaxiRoute route = groundNet->findShortestRoute(parking, parking->getPushBackPoint(), false);
int size = route.size();