X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fdclgps.hxx;h=a49fafda864c0ffc2a9936c61272ac8164fc7789;hb=1867ccb4a8484b9bc856c88629e09e25bcc35d42;hp=405c5a70b28dbb760973ed0496fe5a19c3b3e183;hpb=4994973ef4d5a079acf76267b525313c15376478;p=flightgear.git diff --git a/src/Instrumentation/dclgps.hxx b/src/Instrumentation/dclgps.hxx index 405c5a70b..a49fafda8 100644 --- a/src/Instrumentation/dclgps.hxx +++ b/src/Instrumentation/dclgps.hxx @@ -97,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!