From 4d2f9e7955055cd33bd2664491daecc22a5e0bad Mon Sep 17 00:00:00 2001 From: bcoconni Date: Sat, 16 Jan 2016 13:14:51 +0100 Subject: [PATCH] Remove the error message about the property atmosphere/P-sl-psf that can't be tied --- src/FDM/JSBSim/models/FGAtmosphere.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/FDM/JSBSim/models/FGAtmosphere.cpp b/src/FDM/JSBSim/models/FGAtmosphere.cpp index 672c0f93c..b339057fa 100644 --- a/src/FDM/JSBSim/models/FGAtmosphere.cpp +++ b/src/FDM/JSBSim/models/FGAtmosphere.cpp @@ -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); -- 2.39.5