]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/waypoint.hxx
Patch from Erik Hofman:
[simgear.git] / simgear / route / waypoint.hxx
index a02b6e31fe35fcaf28d23c9ecd42618f93246840..f9835977c9b15d20a6c4cd0122708f31beee4473 100644 (file)
 #endif                                   
 
 
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
 #include <simgear/compiler.h>
 
 #include STL_STRING
@@ -83,9 +79,6 @@ private:
 
 public:
 
-    /** Default constructor */
-    SGWayPoint();
-
     /**
      * Construct a waypoint
      * @param lon destination longitude
@@ -94,8 +87,9 @@ public:
      * @param mode type of coordinates/math to use
      * @param s waypoint identifier
      */
-    SGWayPoint( const double lon, const double lat, const double alt,
-               const modetype m = WGS84, const string s = "" );
+    SGWayPoint( const double lon = 0.0, const double lat = 0.0,
+               const double alt = 0.0, const modetype m = WGS84,
+               const string s = "" );
 
     /** Destructor */
     ~SGWayPoint();