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,17 +1152,6 @@ 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),
_verticalRange(10000),
_lateralRange(10),
_proxVertRange(1200),
_proxLatRange(6),
_incDesInhbAlt(1450),
_DesInhbAlt(1100),
_RAInhbAlt(1000),
_TAInhbAlt(500),
_intruderInhbAlt(360),
_intruderInhbSelfAltToggle(false),
_intruderInhbSelfAlt(1700),
nextUpdateTime(0), nextUpdateTime(0),
selfTestStep(0), selfTestStep(0),
properties_handler(this), properties_handler(this),
@ -1170,7 +1159,18 @@ TCAS::TCAS(SGPropertyNode* pNode) :
tracker(this), tracker(this),
advisoryCoordinator(this), advisoryCoordinator(this),
advisoryGenerator(this), advisoryGenerator(this),
annunciator(this) annunciator(this),
_verticalRange(10000),
_lateralRange(10),
_proxVertRange(1200),
_proxLatRange(6),
_incDesInhbAlt(1450),
_DesInhbAlt(1100),
_RAInhbAlt(1000),
_TAInhbAlt(500),
_intruderInhbAlt(360),
_intruderInhbSelfAltToggle(false),
_intruderInhbSelfAlt(1700)
{ {
for (int i = 0; i < pNode->nChildren(); ++i) for (int i = 0; i < pNode->nChildren(); ++i)
{ {