]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGInertial.cpp
Updated to match changes in radiostack.[ch]xx
[flightgear.git] / src / FDM / JSBSim / FGInertial.cpp
index f76274036f68718ea2fc487cbe6386b006d5bb06..b3d3f598954c2d4658d48525bd44b5a5e077b94c 100644 (file)
@@ -129,12 +129,13 @@ bool FGInertial::LoadInertial(FGConfigFile* AC_cfg)
 
 void FGInertial::bind(void)
 {
+  typedef double (FGInertial::*PMF)(int) const;
   PropertyManager->Tie("forces/fbx-inertial-lbs", this,1,
-                       &FGInertial::GetForces);
+                       (PMF)&FGInertial::GetForces);
   PropertyManager->Tie("forces/fby-inertial-lbs", this,2,
-                       &FGInertial::GetForces);
+                       (PMF)&FGInertial::GetForces);
   PropertyManager->Tie("forces/fbz-inertial-lbs", this,3,
-                       &FGInertial::GetForces);
+                       (PMF)&FGInertial::GetForces);
 }
 
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%