//
// $Id$
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <simgear/compiler.h>
path.append( "Navaids/carrier_nav.dat" );
file = path.str();
- SG_LOG( SG_GENERAL, SG_ALERT, "opening file: " << path.str() );
+ SG_LOG( SG_GENERAL, SG_INFO, "opening file: " << path.str() );
sg_gzifstream incarrier( path.str() );
path = globals->get_fg_root();
path.append( "Navaids/TACAN_freq.dat" );
- file = path.str();
- cout << file << endl;
- //
+ SG_LOG( SG_GENERAL, SG_INFO, "opening file: " << path.str() );
+
sg_gzifstream inchannel( path.str() );
if ( !inchannel.is_open() ) {
double threshold ) {
nav_map_type navmap = loclist->get_navaids();
- nav_map_iterator freq = navmap.begin();
+ nav_map_const_iterator freq = navmap.begin();
while ( freq != navmap.end() ) {
nav_list_type locs = freq->second;
- nav_list_iterator loc = locs.begin();
+ nav_list_const_iterator loc = locs.begin();
while ( loc != locs.end() ) {
string name = (*loc)->get_name();
string::size_type pos1 = name.find(" ");