1
0
Fork 0

Fix an issue which VC90 warns about - using 'this' in initialiser lists.

This commit is contained in:
jmt 2009-10-06 23:13:18 +00:00 committed by Tim Moore
parent 4b5518808b
commit cb6647ff13

View file

@ -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);
}