X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGVaporPressureItem.h;h=b04c80b90f04d343d2bf02a49911d4d16432ea00;hb=485230b443de22c97d5c4ddfda98598fb52ce98a;hp=1a990e1e9e3b88e447a17a96df905854453f74dd;hpb=eddea671a276ea5337867d09699730876fce7085;p=flightgear.git diff --git a/src/WeatherCM/FGVaporPressureItem.h b/src/WeatherCM/FGVaporPressureItem.h index 1a990e1e9..b04c80b90 100644 --- a/src/WeatherCM/FGVaporPressureItem.h +++ b/src/WeatherCM/FGVaporPressureItem.h @@ -49,7 +49,7 @@ HISTORY #include "FGWeatherDefs.h" //for the case that mutable isn't supported: -#include "Include/compiler.h" +#include /****************************************************************************/ /* 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;