]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navlist.hxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / Navaids / navlist.hxx
index be18ad291d29d30cd84a2989c15dae07262c0e63..705572aedca0bbcf5dfafbbeabe584daad0a8e42 100644 (file)
@@ -99,7 +99,7 @@ public:
     // given a frequency returns the first matching entry
     FGNavRecord *findStationByFreq( double frequency );
 
-    inline nav_map_type get_navaids() const { return navaids; }
+    inline const nav_map_type& get_navaids() const { return navaids; }
 };
 
 class FGTACANList {
@@ -128,7 +128,7 @@ public:
     bool add( FGTACANRecord *r );
     
     // Given a TACAN Channel, return the appropriate frequency.  
-    FGTACANRecord *findByChannel( string channel );
+    FGTACANRecord *findByChannel( const string& channel );
 
     
 };