]> git.mxchange.org Git - simgear.git/blobdiff - simgear/ephemeris/celestialBody.hxx
Linux test_HTTP fixes.
[simgear.git] / simgear / ephemeris / celestialBody.hxx
index 6572a45c2fc114d801af1e0f1ddf131b007c1b6f..e555deef54078e7e1483a1d88bd20ba84bcc83cd 100644 (file)
@@ -81,8 +81,8 @@ public:
   double getRightAscension();
   double getDeclination();
   double getMagnitude();
-  double getLon();
-  double getLat(); 
+  double getLon() const;
+  double getLat() const
   void updatePosition(double mjd, Star *ourSun);
 };
 
@@ -90,12 +90,12 @@ inline double CelestialBody::getRightAscension() { return rightAscension; }
 inline double CelestialBody::getDeclination() { return declination; }
 inline double CelestialBody::getMagnitude() { return magnitude; }
 
-inline double CelestialBody::getLon()
+inline double CelestialBody::getLon() const
 {
   return lonEcl;
 }
 
-inline double CelestialBody::getLat()
+inline double CelestialBody::getLat() const
 {
   return latEcl;
 }