X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fdclgps.hxx;h=a49fafda864c0ffc2a9936c61272ac8164fc7789;hb=1867ccb4a8484b9bc856c88629e09e25bcc35d42;hp=9037e97f15d56d1237578a20899852ee61d65077;hpb=0abf252ec8bc933b9b7c045f8782cfc7f16c0465;p=flightgear.git diff --git a/src/Instrumentation/dclgps.hxx b/src/Instrumentation/dclgps.hxx index 9037e97f1..a49fafda8 100644 --- a/src/Instrumentation/dclgps.hxx +++ b/src/Instrumentation/dclgps.hxx @@ -26,7 +26,8 @@ #ifndef _DCLGPS_HXX #define _DCLGPS_HXX -#include "render_area_2d.hxx" +#include + #include #include #include @@ -96,7 +97,7 @@ typedef gps_waypoint_map::const_iterator gps_waypoint_map_const_iterator; class GPSFlightPlan { public: std::vector waypoints; - inline bool IsEmpty() { return(waypoints.size() == 0); } + inline bool IsEmpty() { return waypoints.empty(); } }; // TODO - probably de-public the internals of the next 2 classes and add some methods! @@ -435,9 +436,6 @@ protected: // Configuration that affects flightplan operation bool _turnAnticipationEnabled; - // Magvar stuff. Might get some of this stuff (such as time) from FG in future. - SGTime* _time; - std::list _messageStack; virtual void CreateFlightPlan(GPSFlightPlan* fp, std::vector ids, std::vector wps);