]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/dclgps.hxx
httpd: better handling of first-time notifications
[flightgear.git] / src / Instrumentation / dclgps.hxx
index 1eeadfd6760107e2ef63983ed5a2aea0faa1f695..a49fafda864c0ffc2a9936c61272ac8164fc7789 100644 (file)
@@ -26,7 +26,8 @@
 #ifndef _DCLGPS_HXX
 #define _DCLGPS_HXX
 
-#include "render_area_2d.hxx"
+#include <Cockpit/render_area_2d.hxx>
+
 #include <string>
 #include <list>
 #include <vector>
@@ -96,7 +97,7 @@ typedef gps_waypoint_map::const_iterator gps_waypoint_map_const_iterator;
 class GPSFlightPlan {
 public:
   std::vector<GPSWaypoint*> 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!