]> git.mxchange.org Git - flightgear.git/commit
James Turner:
authorehofman <ehofman>
Wed, 10 Sep 2008 08:54:49 +0000 (08:54 +0000)
committerehofman <ehofman>
Wed, 10 Sep 2008 08:54:49 +0000 (08:54 +0000)
commit3b486e1aeecce210ea3f4772617fe6eeed8f6c9e
tree43ef328674141b0e58e41ba951b7e0b2ccfe89ea
parent146d2b5f9c5e3c94da395e2d4d233e7c25df4783
James Turner:

Here's part 2 - converting FGFix (the simplest one) to be both heap-based and inherit FGPositioned. One minor benefit from this is replacing some dangerous code in FGFixList which used to return the address of an iterator member ('&it->second'). To keep the diff a sensible size, I'm not updating the callers to use the richer FGPositioned types - i.e replacing separate lat/lon handling with SGGeod. I will make those cleanups, but in future patches.
src/Autopilot/route_mgr.cxx
src/Instrumentation/KLN89/kln89_page_int.cxx
src/Instrumentation/KLN89/kln89_page_int.hxx
src/Instrumentation/dclgps.cxx
src/Instrumentation/gps.cxx
src/Main/fg_init.cxx
src/Navaids/fix.hxx
src/Navaids/fixlist.cxx
src/Navaids/fixlist.hxx
src/Navaids/navdb.cxx