#include <simgear/sg_inlines.h>
#include <simgear/math/sg_random.h>
#include <simgear/math/vector.hxx>
+#include <simgear/structure/exception.hxx>
#include <Aircraft/aircraft.hxx>
#include <Navaids/navlist.hxx>
#include "navradio.hxx"
#include <string>
-SG_USING_STD(string);
+using std::string;
// Constructor
//////////////////////////////////////////////////////////
// compute to/from flag status
//////////////////////////////////////////////////////////
- double value = false;
+ bool value = false;
double offset = fabs(radial - target_radial);
if ( tofrom_serviceable ) {
if ( nav_slaved_to_gps_node->getBoolValue() ) {