]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/route_mgr.hxx
James Turner:
[flightgear.git] / src / Autopilot / route_mgr.hxx
index 8952ed922436acc8223b163bca0f1f75ffa14709..67a27d7c8b9636c811b3f593fde6c08152f1ef58 100644 (file)
 
 #include <simgear/compiler.h>
 
-#include STL_STRING
+#include <string>
 #include <vector>
 
-SG_USING_STD(string);
-SG_USING_STD(vector);
+using std::string;
+using std::vector;
 
 #include <simgear/props/props.hxx>
 #include <simgear/route/route.hxx>
@@ -93,8 +93,9 @@ private:
     SGPropertyNode_ptr mirror;
     bool altitude_set;
 
-    int make_waypoint( SGWayPoint **wp, string& target );
+    int make_waypoint( SGWayPoint **wp, const string& target );
     void update_mirror();
+    bool near_ground();
 
 public: