X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Frunwayprefs.hxx;h=c9ac72709c82e4e0c0e00c8ead197a5ac155bebf;hb=2dee4ef14ff449381d11ef2d55d07b2e199677af;hp=9b0c7485f3a8a3f37e438e7766a4b8be407115b4;hpb=721d849c79d7f90afcceac7a5fe7057cc95d8bcf;p=flightgear.git diff --git a/src/Airports/runwayprefs.hxx b/src/Airports/runwayprefs.hxx index 9b0c7485f..c9ac72709 100644 --- a/src/Airports/runwayprefs.hxx +++ b/src/Airports/runwayprefs.hxx @@ -30,8 +30,8 @@ #include -SG_USING_STD(vector); -SG_USING_STD(string); +using std::vector; +using std::string; typedef vector timeVec; typedef vector::const_iterator timeVecConstIterator; @@ -112,7 +112,7 @@ public: void setName(const string& nm) { name = nm; }; void add(const RunwayList& list) { rwyList.push_back(list);}; - void setActive(const string& aptId, double windSpeed, double windHeading, double maxTail, double maxCross, stringVec *curr); + void setActive(const FGAirport* airport, double windSpeed, double windHeading, double maxTail, double maxCross, stringVec *curr); int getNrActiveRunways() { return nrActive;}; void getActive(int i, string& name, string& type);