From: James Turner Date: Mon, 9 Aug 2010 08:16:28 +0000 (+0100) Subject: One more std::string fixup. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f467ba360902e4395d23b35481c55844a3946b91;p=flightgear.git One more std::string fixup. --- diff --git a/src/ATC/atcutils.cxx b/src/ATC/atcutils.cxx index 589a387e2..94e4ec63b 100644 --- a/src/ATC/atcutils.cxx +++ b/src/ATC/atcutils.cxx @@ -256,7 +256,7 @@ double FGCommList::FindClosest(const SGGeod& aPos, ATCData& ad, atc_type tp, dou // Find by Airport code. // This is basically a wrapper for a call to the airport database to get the airport // position followed by a call to FindByPos(...) -bool FGCommList::FindByCode( const string& ICAO, ATCData& ad, atc_type tp ) { +bool FGCommList::FindByCode( const std::string& ICAO, ATCData& ad, atc_type tp ) { /* const FGAirport *a = fgFindAirportID( ICAO); if ( a) { @@ -285,7 +285,7 @@ bool FGCommList::FindByCode( const string& ICAO, ATCData& ad, atc_type tp ) { // Return an appropriate sequence number for an ATIS transmission. // Return sequence number + 2600 if sequence is unchanged since // last time. -int FGCommList::GetAtisSequence( const string& apt_id, +int FGCommList::GetAtisSequence( const std::string& apt_id, const double tstamp, const int interval, const int special) { /*