1
0
Fork 0

Via: add a comment

This commit is contained in:
James Turner 2022-01-06 11:40:53 +00:00
parent 02bda6d8d2
commit d135122408

View file

@ -628,6 +628,8 @@ WayptVec Via::expandToWaypoints(WayptRef aPreceeding) const
throw sg_exception("invalid preceeding waypoint");
}
// this waypoint is noly used for the search, it's not part
// of the result, so we don't need to set the owner
WayptRef toWp = new NavaidWaypoint(_to, nullptr);
return _airway->via(aPreceeding, toWp);
}