gps warning fix (xxx will be initialized after yyy)
This commit is contained in:
parent
8ffa65a821
commit
0750d8a6d4
1 changed files with 2 additions and 2 deletions
|
@ -213,6 +213,7 @@ void GPS::Config::bind(GPS* aOwner, SGPropertyNode* aCfg)
|
|||
|
||||
GPS::GPS ( SGPropertyNode *node) :
|
||||
_selectedCourse(0.0),
|
||||
_desiredCourse(0.0),
|
||||
_dataValid(false),
|
||||
_lastPosValid(false),
|
||||
_mode("init"),
|
||||
|
@ -220,8 +221,7 @@ GPS::GPS ( SGPropertyNode *node) :
|
|||
_num(node->getIntValue("number", 0)),
|
||||
_computeTurnData(false),
|
||||
_anticipateTurn(false),
|
||||
_inTurn(false),
|
||||
_desiredCourse(0.0)
|
||||
_inTurn(false)
|
||||
{
|
||||
string branch = "/instrumentation/" + _name;
|
||||
_gpsNode = fgGetNode(branch.c_str(), _num, true );
|
||||
|
|
Loading…
Reference in a new issue