X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fnewnavradio.cxx;h=9bf3259cb3178543c5df8198bb38ba146cf513c4;hb=805c4cbba15c6922e511b3a20ba5a9cb56ceed4f;hp=9468e3f4da3e211f26eecc3584e365c9b59386d8;hpb=9a21896a3372ba1d6c2da8e59433ab0972d4b572;p=flightgear.git diff --git a/src/Instrumentation/newnavradio.cxx b/src/Instrumentation/newnavradio.cxx old mode 100755 new mode 100644 index 9468e3f4d..9bf3259cb --- a/src/Instrumentation/newnavradio.cxx +++ b/src/Instrumentation/newnavradio.cxx @@ -29,7 +29,6 @@ #include #include -#include #include #include #include @@ -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; }