]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Airplane.hpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / Airplane.hpp
index e0e53f4e51853f098f778203f9a2ce925eb6863d..913eb49edcc3126c379e4887164302eda52e5b4f 100644 (file)
@@ -90,7 +90,7 @@ public:
     float getCruiseAoA();
     float getTailIncidence();
     float getApproachElevator() { return _approachElevator.val; }
-    char* getFailureMsg();
+    const char* getFailureMsg();
 
     static void setupState(float aoa, float speed, float gla, State* s); // utility
 
@@ -172,7 +172,7 @@ private:
     float _cruiseAoA;
     float _tailIncidence;
     Control _approachElevator;
-    char* _failureMsg;
+    const char* _failureMsg;
 };
 
 }; // namespace yasim