]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atis.hxx
The most important part is that it fixes possible
[flightgear.git] / src / ATC / atis.hxx
index 741e9943dd63c5950d0935887eab59b4ba0c04fb..4cd303ada3880af71960a930b2ddec752e15a8ac 100644 (file)
@@ -79,8 +79,8 @@ class FGATIS : public FGATC {
        void Update(double dt);
        
        //inline void set_type(const atc_type tp) {type = tp;}
-       inline string get_trans_ident() { return trans_ident; }
-       inline void set_refname(string r) { refname = r; } 
+       inline const string& get_trans_ident() { return trans_ident; }
+       inline void set_refname(const string& r) { refname = r; } 
        
        private: