// cout << "Master index = " << master_index << endl;
// cout << "beacon search length = " << beacons.size() << endl;
- nav_list_iterator current = navs.begin();
- nav_list_iterator last = navs.end();
+ nav_list_const_iterator current = navs.begin();
+ nav_list_const_iterator last = navs.end();
Point3D aircraft = sgGeodToCart( Point3D(lon_rad,
lat_rad,
}
// Given a TACAN Channel return the first matching frequency
-FGTACANRecord *FGTACANList::findByChannel( string channel )
+FGTACANRecord *FGTACANList::findByChannel( const string& channel )
{
tacan_list_type stations = ident_channels[channel];
SG_LOG( SG_INSTR, SG_DEBUG, "findByChannel " << channel<< " size " << stations.size() );