]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/transmission.hxx
Alex Romosan:
[flightgear.git] / src / ATC / transmission.hxx
index 9c2cfd7c58aed72d8ed422ffbb93aa4666c00e2a..fafc885b79e5f34f69ea429a18c237763f2933e3 100644 (file)
@@ -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();