]> git.mxchange.org Git - flightgear.git/blobdiff - src/WeatherCM/FGVaporPressureItem.h
Code reorganization.
[flightgear.git] / src / WeatherCM / FGVaporPressureItem.h
index 1a990e1e9e3b88e447a17a96df905854453f74dd..b04c80b90f04d343d2bf02a49911d4d16432ea00 100644 (file)
@@ -49,7 +49,7 @@ HISTORY
 #include "FGWeatherDefs.h"
 
 //for the case that mutable isn't supported:
-#include "Include/compiler.h"
+#include <simgear/compiler.h>
                
 /****************************************************************************/
 /* DEFINES                                                                 */
@@ -63,20 +63,20 @@ FGVaporPressureItem operator-(const FGVaporPressureItem& arg);
 class FGVaporPressureItem
 {
 private:
-    mutable WeatherPrecition value;
-    WeatherPrecition alt;
+    mutable WeatherPrecision value;
+    WeatherPrecision alt;
 
 protected:
 public:
 
-    FGVaporPressureItem(const WeatherPrecition& a, const WeatherPrecition& v)  {alt = a; value = v;}
-    FGVaporPressureItem(const WeatherPrecition& v)                             {alt = 0.0; value = v;}
+    FGVaporPressureItem(const WeatherPrecision& a, const WeatherPrecision& v)  {alt = a; value = v;}
+    FGVaporPressureItem(const WeatherPrecision& v)                             {alt = 0.0; value = v;}
     FGVaporPressureItem()                                                      {alt = 0.0; value = FG_WEATHER_DEFAULT_VAPORPRESSURE;}
 
-    WeatherPrecition getValue() const { return value; };
-    WeatherPrecition getAlt()   const { return alt;   };
+    WeatherPrecision getValue() const { return value; };
+    WeatherPrecision getAlt()   const { return alt;   };
 
-    FGVaporPressureItem& operator*= (const WeatherPrecition& arg);
+    FGVaporPressureItem& operator*= (const WeatherPrecision& arg);
     FGVaporPressureItem& operator+= (const FGVaporPressureItem& arg);
     FGVaporPressureItem& operator-= (const FGVaporPressureItem& arg);
 
@@ -85,7 +85,7 @@ public:
 
 };
 
-inline FGVaporPressureItem& FGVaporPressureItem::operator*= (const WeatherPrecition& arg)
+inline FGVaporPressureItem& FGVaporPressureItem::operator*= (const WeatherPrecision& arg)
 {
   value *= arg;
   return *this;