X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Ffixlist.cxx;h=50c06ac563c804bb99eda19862fc2921386b20ac;hb=038251e8af6ff9c24afcc08169c2bcca2c5a63c5;hp=1f685e193fa719b98a8a14904e9e99c303116e59;hpb=35396de6f87e2a8b8d0c21eb1d0908db586799f8;p=flightgear.git diff --git a/src/Navaids/fixlist.cxx b/src/Navaids/fixlist.cxx index 1f685e193..50c06ac56 100644 --- a/src/Navaids/fixlist.cxx +++ b/src/Navaids/fixlist.cxx @@ -33,12 +33,13 @@ #include #include "fixlist.hxx" -#include "Navaids/fix.hxx" -#include "Airports/simple.hxx" +#include +#include FGFix::FGFix(const std::string& aIdent, const SGGeod& aPos) : FGPositioned(FIX, aIdent, aPos) { + init(true); // init FGPositioned } // Constructor @@ -66,7 +67,7 @@ bool FGFixList::init(const SGPath& path ) { // read in each remaining line of the file while ( ! in.eof() ) { double lat, lon; - string ident; + std::string ident; in >> lat >> lon >> ident; if (lat > 95) break;