]> 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 405c5a70b28dbb760973ed0496fe5a19c3b3e183..a49fafda864c0ffc2a9936c61272ac8164fc7789 100644 (file)
@@ -97,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!