From 9745a6fce3de367cf29c37829b312090e84c2487 Mon Sep 17 00:00:00 2001 From: "Rebecca N. Palmer" Date: Thu, 9 Apr 2015 19:05:22 +0100 Subject: [PATCH] remove obsolete comments see 1cd070de8cbf00c861bfb0c98cc2cda30027e3fc --- src/Environment/realwx_ctrl.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Environment/realwx_ctrl.cxx b/src/Environment/realwx_ctrl.cxx index 608525246..104d7db59 100644 --- a/src/Environment/realwx_ctrl.cxx +++ b/src/Environment/realwx_ctrl.cxx @@ -343,9 +343,6 @@ void BasicRealWxController::removeMetarAtPath(const string &propPath) MetarPropertiesList::iterator it = findMetarAtPath( propPath ); if( it != _metarProperties.end() ) { SG_LOG(SG_ENVIRONMENT, SG_INFO, "removing metar properties at " << propPath); -// LiveMetarProperties_ptr p(*it); // delay deletion until this goes out of scope when we return; no longer needed? - // TODO: this doesn't actually delete it, because doing so invalidates the - // BasicRealWxController::update iterator, causing a crash on Go To Airport _metarProperties.erase(it); } else { SG_LOG(SG_ENVIRONMENT, SG_WARN, "no metar properties at " << propPath);