]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.hxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / Airports / simple.hxx
index 72256bf5f56098da67b1e27228d4438c3d334556..0e79c8675ee36212f7c4320d5cfc376f369876ab 100644 (file)
@@ -78,8 +78,8 @@ public:
     FGAirport(const string& id, double lon, double lat, double elev, const string& name, bool has_metar);
     ~FGAirport();
 
-    string getId() const { return _id; }
-    const string &getName() const { return _name; }
+    const string& getId() const { return _id; }
+    const stringgetName() const { return _name; }
     double getLongitude() const { return _longitude; }
     // Returns degrees
     double getLatitude()  const { return _latitude; }