]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/gps.cxx
Merge branch 'next' of D:\Git_New\flightgear into next
[flightgear.git] / src / Instrumentation / gps.cxx
index 685754744cb04a386291b15a6721106d07286c9e..afee154f3f5815dcd0a752e448e2442284ccaab8 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <memory>
 #include <set>
+#include <cstring>
 
 #include "Main/fg_props.hxx"
 #include "Main/globals.hxx" // for get_subsystem
@@ -213,15 +214,16 @@ void GPS::Config::bind(GPS* aOwner, SGPropertyNode* aCfg)
 
 GPS::GPS ( SGPropertyNode *node) : 
   _selectedCourse(0.0),
+  _desiredCourse(0.0),
   _dataValid(false),
   _lastPosValid(false),
   _mode("init"),
   _name(node->getStringValue("name", "gps")),
   _num(node->getIntValue("number", 0)),
+  _searchResultsCached(false),
   _computeTurnData(false),
   _anticipateTurn(false),
-  _inTurn(false),
-  _desiredCourse(0.0)
+  _inTurn(false)
 {
   string branch = "/instrumentation/" + _name;
   _gpsNode = fgGetNode(branch.c_str(), _num, true );