]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.hxx
better use unset() for unsetting ...
[flightgear.git] / src / Instrumentation / adf.hxx
index d43bdce600e16845ccb83b5d0f2f2483627d9175..0feac829db1cd041d842f25722777627d5859de0 100644 (file)
@@ -19,7 +19,7 @@
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <Sound/morse.hxx>
 
-SG_USING_STD(string);
+using std::string;
 
 
 /**
@@ -51,7 +51,6 @@ class ADF : public SGSubsystem
 public:
 
     ADF ( SGPropertyNode *node );
-    ADF ();
     virtual ~ADF ();
 
     virtual void init ();
@@ -64,6 +63,9 @@ private:
     void search (double frequency, double longitude_rad,
                  double latitude_rad, double altitude_m);
 
+    string _name;
+    unsigned int _num;
+
     SGPropertyNode_ptr _longitude_node;
     SGPropertyNode_ptr _latitude_node;
     SGPropertyNode_ptr _altitude_node;
@@ -93,10 +95,7 @@ private:
     int _ident_count;
     time_t _last_ident_time;
     double _last_volume;
-
-    string name;
-    int num;
-    string adf_ident;
+    string _adf_ident;
 };