From: jmt Date: Tue, 6 Oct 2009 23:13:18 +0000 (+0000) Subject: Fix an issue which VC90 warns about - using 'this' in initialiser lists. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb6647ff1361d13e37445749b5a8c0803d4445b4;p=flightgear.git Fix an issue which VC90 warns about - using 'this' in initialiser lists. --- diff --git a/src/Autopilot/route_mgr.cxx b/src/Autopilot/route_mgr.cxx index a80c330bc..daf9697de 100644 --- a/src/Autopilot/route_mgr.cxx +++ b/src/Autopilot/route_mgr.cxx @@ -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); }