]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.hxx
Set the format default to float instead of int.
[flightgear.git] / src / Airports / simple.hxx
index 2d25e16d5d74dfdc1f1186250044936fe855a8fa..be0b8ed6899451ec22da563686db1084b265ffe8 100644 (file)
@@ -48,7 +48,6 @@ SG_USING_STD(vector);
 
 
 struct FGAirport {
-
     string id;
     double longitude;
     double latitude;
@@ -75,7 +74,7 @@ private:
 public:
 
     // Constructor
-    FGAirportList( const stringfile );
+    FGAirportList( const string &airport_file, const string &metar_file );
 
     // Destructor
     ~FGAirportList();
@@ -102,7 +101,7 @@ public:
     /**
      * Return a specific airport, by position.
      */
-    const FGAirport getAirport( int index ) const;
+    const FGAirport *getAirport( int index ) const;
 
 
     /**