]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/newnavradio.cxx
Performance optimization
[flightgear.git] / src / Instrumentation / newnavradio.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 9468e3f..9bf3259
@@ -29,7 +29,6 @@
 #include <assert.h>
 #include <boost/foreach.hpp>
 
-#include <simgear/math/SGMath.hxx>
 #include <simgear/math/interpolater.hxx>
 #include <simgear/sg_inlines.h>
 #include <simgear/props/propertyObject.hxx>
@@ -808,7 +807,7 @@ public:
   void valueChanged (SGPropertyNode * prop)
   {
     // format as fixed decimal "nnn.nn"
-    ostringstream buf;
+    std::ostringstream buf;
     buf << std::fixed 
         << std::setw(5) 
         << std::setfill('0') 
@@ -922,7 +921,7 @@ void NavRadioImpl::update( double dt )
   try {
     position = globals->get_aircraft_position();
   }
-  catch( exception & ) {
+  catch( std::exception & ) {
     return;
   }