]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/transmission.hxx
Modified Files:
[flightgear.git] / src / ATC / transmission.hxx
index 9c2cfd7c58aed72d8ed422ffbb93aa4666c00e2a..c1881b3c62fe1c8afe7e8d4667a4568782529cef 100644 (file)
@@ -17,7 +17,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
 #ifndef _FG_TRANSMISSION_HXX
@@ -95,9 +95,9 @@ public:
   void Init();
 
   inline atc_type  get_station()   const { return StationType; }
-  inline TransCode get_code()      { return Code; }
-  inline string    get_transtext() { return TransText; }
-  inline string    get_menutext()  { return MenuText; }
+  inline const TransCode& get_code()      { return Code; }
+  inline const string&    get_transtext() { return TransText; }
+  inline const string&    get_menutext()  { return MenuText; }
 
   // Return the parsed logic of the transmission  
   TransPar Parse();