X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGTemperatureItem.h;h=14f19934e762c4855a37ff6d9271a0dc4bc21ffb;hb=8f3aa1bebd7c60b1ad328d10beae841daab4e292;hp=063acbf1fb9b75cc287bd21931ece05140fba88b;hpb=eddea671a276ea5337867d09699730876fce7085;p=flightgear.git diff --git a/src/WeatherCM/FGTemperatureItem.h b/src/WeatherCM/FGTemperatureItem.h index 063acbf1f..14f19934e 100644 --- a/src/WeatherCM/FGTemperatureItem.h +++ b/src/WeatherCM/FGTemperatureItem.h @@ -48,8 +48,8 @@ HISTORY /****************************************************************************/ #include "FGWeatherDefs.h" -//for the case that mutable isn't supported: -#include "Include/compiler.h" +// for the case that mutable isn't supported: +#include /****************************************************************************/ /* DEFINES */ @@ -63,20 +63,20 @@ FGTemperatureItem operator-(const FGTemperatureItem& arg); class FGTemperatureItem { private: - mutable WeatherPrecition value; - WeatherPrecition alt; + mutable WeatherPrecision value; + WeatherPrecision alt; protected: public: - FGTemperatureItem(const WeatherPrecition& a, const WeatherPrecition& v) {alt = a; value = v;} - FGTemperatureItem(const WeatherPrecition& v) {alt = 0.0; value = v;} - FGTemperatureItem() {alt = 0.0; value = (WeatherPrecition)FG_WEATHER_DEFAULT_TEMPERATURE;} + FGTemperatureItem(const WeatherPrecision& a, const WeatherPrecision& v) {alt = a; value = v;} + FGTemperatureItem(const WeatherPrecision& v) {alt = 0.0; value = v;} + FGTemperatureItem() {alt = 0.0; value = (WeatherPrecision)FG_WEATHER_DEFAULT_TEMPERATURE;} - WeatherPrecition getValue() const { return value; }; - WeatherPrecition getAlt() const { return alt; }; + WeatherPrecision getValue() const { return value; }; + WeatherPrecision getAlt() const { return alt; }; - FGTemperatureItem& operator*= (const WeatherPrecition& arg); + FGTemperatureItem& operator*= (const WeatherPrecision& arg); FGTemperatureItem& operator+= (const FGTemperatureItem& arg); FGTemperatureItem& operator-= (const FGTemperatureItem& arg); @@ -85,7 +85,7 @@ public: }; -inline FGTemperatureItem& FGTemperatureItem::operator*= (const WeatherPrecition& arg) +inline FGTemperatureItem& FGTemperatureItem::operator*= (const WeatherPrecision& arg) { value *= arg; return *this;