]> git.mxchange.org Git - flightgear.git/commit
Fix a FlightPlan lifetime issue.
authorJames Turner <zakalawe@mac.com>
Sun, 26 May 2013 21:11:11 +0000 (22:11 +0100)
committerJames Turner <zakalawe@mac.com>
Sun, 26 May 2013 21:11:25 +0000 (22:11 +0100)
commit16d1c4766465f41bca9dcdb0a461e69705e4398e
tree94da1ced34f0f90f3140516485d7aa05863de9a7
parent1ad9756a4b8ba37a7a310a8e740e8257eb17075f
Fix a FlightPlan lifetime issue.

Route-manager was explicitly deleting its FP, which was incorrect.
Switch to correct use of SGSharedPtr to refer to flight plans.

Thanks to Roland Haeder for catching this.
src/Autopilot/route_mgr.cxx
src/Autopilot/route_mgr.hxx
src/Navaids/FlightPlan.cxx
src/Navaids/FlightPlan.hxx