From 63d6f0218ba53bd3971fa1014b78d14f05b8762e Mon Sep 17 00:00:00 2001 From: Ganael Laplanche Date: Sun, 2 Sep 2018 14:17:26 +0200 Subject: [PATCH] Use nullptr instead of NULL --- src/AIModel/AIFlightPlanCreatePushBack.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AIModel/AIFlightPlanCreatePushBack.cxx b/src/AIModel/AIFlightPlanCreatePushBack.cxx index 998a53a93..7391d4165 100644 --- a/src/AIModel/AIFlightPlanCreatePushBack.cxx +++ b/src/AIModel/AIFlightPlanCreatePushBack.cxx @@ -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();