From cb6647ff1361d13e37445749b5a8c0803d4445b4 Mon Sep 17 00:00:00 2001 From: jmt Date: Tue, 6 Oct 2009 23:13:18 +0000 Subject: [PATCH] Fix an issue which VC90 warns about - using 'this' in initialiser lists. --- src/Autopilot/route_mgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5