]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/fixlist.cxx
More fg -> sg namespace changes in simgear.
[flightgear.git] / src / Navaids / fixlist.cxx
index b03d9924137b8f3900972e231d4a7644db397bc0..f1dfedf9f8bf75ec18d40390dabed981c79cf608 100644 (file)
@@ -22,8 +22,8 @@
 
 
 #include <simgear/debug/logstream.hxx>
-#include <simgear/misc/fgstream.hxx>
-#include <simgear/math/fg_geodesy.hxx>
+#include <simgear/misc/sgstream.hxx>
+#include <simgear/math/sg_geodesy.hxx>
 
 #include "fixlist.hxx"
 
@@ -42,14 +42,14 @@ FGFixList::~FGFixList( void ) {
 
 
 // load the navaids and build the map
-bool FGFixList::init( FGPath path ) {
+bool FGFixList::init( SGPath path ) {
     FGFix fix;
 
     fixlist.erase( fixlist.begin(), fixlist.end() );
 
-    fg_gzifstream in( path.str() );
+    sg_gzifstream in( path.str() );
     if ( !in.is_open() ) {
-        FG_LOG( FG_GENERAL, FG_ALERT, "Cannot open file: " << path.str() );
+        SG_LOG( SG_GENERAL, SG_ALERT, "Cannot open file: " << path.str() );
         exit(-1);
     }