]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/KLN89/kln89_page_apt.cxx
new FSF address
[flightgear.git] / src / Instrumentation / KLN89 / kln89_page_apt.cxx
index d1272e6cd013afd7d64ac7965540111c81b4915a..7bf0b93f611a59b0087ffff414979d5669ab55cd 100644 (file)
 //
 // 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.
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "kln89_page_apt.hxx"
 #include <ATC/commlist.hxx>
+#include <Main/globals.hxx>
 
 // This function is copied from Airports/runways.cxx
 // TODO - Make the original properly available and remove this instance!!!!
@@ -462,7 +467,7 @@ void KLN89AptPage::Update(double dt) {
        KLN89Page::Update(dt);
 }
 
-void KLN89AptPage::SetId(string s) {
+void KLN89AptPage::SetId(const string& s) {
        _last_apt_id = _apt_id;
        _save_apt_id = _apt_id;
        _apt_id = s;