forked from speed-dreams/speed-dreams-code
usr: Reorder initialiser list
C++ requires members to be initialised in the same order as they are listed on the class definition. Otherwise, some compilers might throw a warning message. Former-commit-id: 3e05446ec7f0924384c84fe521800bac7a685cfb Former-commit-id: 51f964c03df3bc1fd5988db2a39acae7984e5531
This commit is contained in:
parent
41ed56d1f6
commit
9c2e389c7d
1 changed files with 2 additions and 3 deletions
|
@ -47,11 +47,10 @@ Driver::Driver(int index) :
|
|||
INDEX(index),
|
||||
mRain(0),
|
||||
driver_aggression(1.0),
|
||||
driver_consistency(0.2),
|
||||
mGarage(false),
|
||||
mFrontCollMargin(6.0),
|
||||
mOvtMargin(2.0),
|
||||
driver_consistency(0.2)
|
||||
|
||||
mOvtMargin(2.0)
|
||||
{
|
||||
// Names assigned in constructor for VS 2013 compatibility
|
||||
mFlagNames.push_back("STATE_CHANGE");
|
||||
|
|
Loading…
Reference in a new issue