]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/ilslist.hxx
Updated to match changes in radiostack.[ch]xx
[flightgear.git] / src / Navaids / ilslist.hxx
index d5a2e69ffd22996a1168e2c62c3346d3ede2943b..8d13a58798b090fe1613f6f5981a4afde0f67229 100644 (file)
 
 
 #include <simgear/compiler.h>
-#include <simgear/misc/fgpath.hxx>
+#include <simgear/misc/sg_path.hxx>
 
 #include <map>
 #include <vector>
 
 #include "ils.hxx"
 
-FG_USING_STD(map);
-FG_USING_STD(vector);
+SG_USING_STD(map);
+SG_USING_STD(vector);
 
 
 class FGILSList {
@@ -44,7 +44,8 @@ class FGILSList {
     typedef ils_list_type::iterator ils_list_iterator;
     typedef ils_list_type::const_iterator ils_list_const_iterator;
 
-    typedef map < int, ils_list_type, less<int> > ils_map_type;
+    // typedef map < int, ils_list_type, less<int> > ils_map_type;
+    typedef map < int, ils_list_type > ils_map_type;
     typedef ils_map_type::iterator ils_map_iterator;
     typedef ils_map_type::const_iterator ils_map_const_iterator;
 
@@ -56,7 +57,7 @@ public:
     ~FGILSList();
 
     // load the navaids and build the map
-    bool init( FGPath path );
+    bool init( SGPath path );
 
     // query the database for the specified frequency, lon and lat are
     // in degrees, elev is in meters