1
0
Fork 0

silence a warning (initialization order)

This commit is contained in:
Torsten Dreyer 2019-08-01 17:34:11 +02:00
parent 2ba77f7f73
commit ca2072bf74

View file

@ -1152,6 +1152,14 @@ TCAS::AdvisoryGenerator::resolution(int mode, int threatLevel, float rangeNm, fl
TCAS::TCAS(SGPropertyNode* pNode) : TCAS::TCAS(SGPropertyNode* pNode) :
name("tcas"), name("tcas"),
num(0), num(0),
nextUpdateTime(0),
selfTestStep(0),
properties_handler(this),
threatDetector(this),
tracker(this),
advisoryCoordinator(this),
advisoryGenerator(this),
annunciator(this),
_verticalRange(10000), _verticalRange(10000),
_lateralRange(10), _lateralRange(10),
_proxVertRange(1200), _proxVertRange(1200),
@ -1162,15 +1170,7 @@ TCAS::TCAS(SGPropertyNode* pNode) :
_TAInhbAlt(500), _TAInhbAlt(500),
_intruderInhbAlt(360), _intruderInhbAlt(360),
_intruderInhbSelfAltToggle(false), _intruderInhbSelfAltToggle(false),
_intruderInhbSelfAlt(1700), _intruderInhbSelfAlt(1700)
nextUpdateTime(0),
selfTestStep(0),
properties_handler(this),
threatDetector(this),
tracker(this),
advisoryCoordinator(this),
advisoryGenerator(this),
annunciator(this)
{ {
for (int i = 0; i < pNode->nChildren(); ++i) for (int i = 0; i < pNode->nChildren(); ++i)
{ {