]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/parking.cxx
Another clean-up iteration: FGAirportList::search is gone, replaced by two
[flightgear.git] / src / Airports / parking.cxx
index ebc06210fb4f8c5121c721a7af13adae7d92ba89..525241d5917a45ce51282c7865b7d040835cc248 100644 (file)
 //#include <Main/fg_props.hxx>
 //#include <Airports/runways.hxx>
 
-#include STL_STRING
+#include <string>
 
 #include "parking.hxx"
+#include "groundnetwork.hxx"
 
 /*********************************************************************************
  * FGParking
  ********************************************************************************/
-FGParking::FGParking(double lat,
-                    double lon,
-                    double hdg,
-                    double rad,
-                    int idx,
-                    const string &name,
-                    const string &tpe,
-                    const string &codes)
-  : FGTaxiNode(lat,lon,idx)
-{
-  heading      = hdg;
-  parkingName  = name;
-  type         = tpe;
-  airlineCodes = codes;
+// FGParking::FGParking(double lat,
+//                  double lon,
+//                  double hdg,
+//                  double rad,
+//                  int idx,
+//                  const string &name,
+//                  const string &tpe,
+//                  const string &codes)
+//   : FGTaxiNode(lat,lon,idx)
+// {
+//   heading      = hdg;
+//   parkingName  = name;
+//   type         = tpe;
+//   airlineCodes = codes;
+// }
+FGParking::~FGParking() {
+     delete pushBackRoute; 
 }