X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fdclgps.hxx;h=a49fafda864c0ffc2a9936c61272ac8164fc7789;hb=1867ccb4a8484b9bc856c88629e09e25bcc35d42;hp=1eeadfd6760107e2ef63983ed5a2aea0faa1f695;hpb=6c6452c62b28e11153e2f52750efa35eff938977;p=flightgear.git diff --git a/src/Instrumentation/dclgps.hxx b/src/Instrumentation/dclgps.hxx index 1eeadfd67..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!