]> git.mxchange.org Git - flightgear.git/commitdiff
Remove the error message about the property atmosphere/P-sl-psf that can't be tied
authorbcoconni <bcoconni@users.sourceforge.net>
Sat, 16 Jan 2016 12:14:51 +0000 (13:14 +0100)
committerbcoconni <bcoconni@users.sourceforge.net>
Sat, 16 Jan 2016 12:14:51 +0000 (13:14 +0100)
src/FDM/JSBSim/models/FGAtmosphere.cpp

index 672c0f93c70c7944cb01ac898d2de34260bfb759..b339057fa6b0b49d1075ad8c9661df701432ef4b 100644 (file)
@@ -251,17 +251,12 @@ double FGAtmosphere::ConvertFromPSF(double p, ePressure unit) const
 
 void FGAtmosphere::bind(void)
 {
-  typedef double (FGAtmosphere::*PMFi)(int) const;
-//  typedef void (FGAtmosphere::*PMF)(int, double);
   PropertyManager->Tie("atmosphere/T-R", this, &FGAtmosphere::GetTemperature);
   PropertyManager->Tie("atmosphere/rho-slugs_ft3", this, &FGAtmosphere::GetDensity);
   PropertyManager->Tie("atmosphere/P-psf", this, &FGAtmosphere::GetPressure);
   PropertyManager->Tie("atmosphere/a-fps", this, &FGAtmosphere::GetSoundSpeed);
   PropertyManager->Tie("atmosphere/T-sl-R", this, &FGAtmosphere::GetTemperatureSL);
   PropertyManager->Tie("atmosphere/rho-sl-slugs_ft3", this, &FGAtmosphere::GetDensitySL);
-  PropertyManager->Tie("atmosphere/P-sl-psf", this, ePSF,
-                       (PMFi)&FGAtmosphere::GetPressureSL);
-//                                   (PMF)&FGAtmosphere::SetPressureSL);
   PropertyManager->Tie("atmosphere/a-sl-fps", this, &FGAtmosphere::GetSoundSpeedSL);
   PropertyManager->Tie("atmosphere/theta", this, &FGAtmosphere::GetTemperatureRatio);
   PropertyManager->Tie("atmosphere/sigma", this, &FGAtmosphere::GetDensityRatio);