]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.hxx
Multiplayer client/server system -- MessageBuf class and test harness complete
[flightgear.git] / src / Airports / simple.hxx
index 9e1927ee46c919c12225cf87de2ed9af5d818d30..3919b23c57b9e03de7f5cfbeff35eef227788558 100644 (file)
@@ -45,9 +45,7 @@ SG_USING_STD(string);
 SG_USING_STD(map);
 
 
-class FGAirport {
-
-public:
+struct FGAirport {
 
     string id;
     double longitude;
@@ -56,18 +54,6 @@ public:
     string code;
     string name;
 
-public:
-
-    FGAirport( const string& name = "",
-              double lon = 0.0,
-              double lat = 0.0,
-              double ele = 0.0 )
-       : id(name), longitude(lon), latitude(lat), elevation(ele) {}
-
-    bool operator < ( const FGAirport& a ) const {
-       return id < a.id;
-    }
-
 };
 
 typedef map < string, FGAirport > airport_map;