X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fsidstar.hxx;h=ad8d10e94e418c24001cf6fd9e2cb8d566965ad6;hb=49677f512b8edaaf22c76761dbbf9c0850c79aad;hp=ef388e49bb24bcffd3ffafd0484f5a8c747666f7;hpb=70be1629e61d9b751a2f73df30b83bb1be6ca4fe;p=flightgear.git diff --git a/src/Airports/sidstar.hxx b/src/Airports/sidstar.hxx index ef388e49b..ad8d10e94 100644 --- a/src/Airports/sidstar.hxx +++ b/src/Airports/sidstar.hxx @@ -24,6 +24,7 @@ #define _SIDSTAR_HXX_ #include +#include #include @@ -36,12 +37,10 @@ #include "runwayprefs.hxx" -using std::string; - class FGAirport; -typedef vector FlightPlanVec; -typedef vector::iterator FlightPlanVecIterator; +typedef std::vector FlightPlanVec; +typedef std::vector::iterator FlightPlanVecIterator; typedef std::map < std::string, FlightPlanVec > FlightPlanVecMap; @@ -49,7 +48,7 @@ typedef std::map < std::string, FlightPlanVec > FlightPlanVecMap; class FGSidStar { private: - string id; + std::string id; bool initialized; FlightPlanVecMap data; @@ -57,9 +56,9 @@ class FGSidStar FGSidStar(FGAirport *ap); FGSidStar(const FGSidStar &other); - string getId() { return id; }; + std::string getId() { return id; }; void load(SGPath path); - FGAIFlightPlan *getBest(string activeRunway, double heading); + FGAIFlightPlan *getBest(std::string activeRunway, double heading); };