Fix an issue which VC90 warns about - using 'this' in initialiser lists.
This commit is contained in:
parent
4b5518808b
commit
cb6647ff13
1 changed files with 1 additions and 1 deletions
|
@ -67,10 +67,10 @@ FGRouteMgr::FGRouteMgr() :
|
|||
target_altitude_ft( NULL ),
|
||||
altitude_lock( NULL ),
|
||||
input(fgGetNode( RM "input", true )),
|
||||
listener(new InputListener(this)),
|
||||
mirror(fgGetNode( RM "route", true )),
|
||||
altitude_set( false )
|
||||
{
|
||||
listener = new InputListener(this);
|
||||
input->setStringValue("");
|
||||
input->addChangeListener(listener);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue