diff --git a/src/Instrumentation/gps.cxx b/src/Instrumentation/gps.cxx index 26aad8dcf..f17678a0f 100644 --- a/src/Instrumentation/gps.cxx +++ b/src/Instrumentation/gps.cxx @@ -710,7 +710,7 @@ GPS::update (double delta_time_sec) popWp->setBoolValue(false); route->delete_first(); - _route->removeChild("Waypoint", 0, false); + _route->removeChild("Waypoint", 0); } } else {