From 3060cf10c63ade328fca07c7793bff2ad482c9cb Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 31 Mar 2020 13:56:01 +0100 Subject: [PATCH] Remove a logging call. --- src/Airports/runwayprefs.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Airports/runwayprefs.cxx b/src/Airports/runwayprefs.cxx index 3353820a7..76fec534b 100644 --- a/src/Airports/runwayprefs.cxx +++ b/src/Airports/runwayprefs.cxx @@ -148,15 +148,10 @@ void RunwayList::set(const std::string & tp, const std::string & lst) // timeOffsetInDays = weekday - currTimeDate->getGmt()->tm_wday; // timeCopy = timeCopy.substr(2,timeCopy.length()); type = tp; - - - - BOOST_FOREACH(std::string s, strutils::split(lst, ",")) { - std::string ident = strutils::strip(s); - + for (const auto s : strutils::split(lst, ",")) { + auto ident = strutils::strip(s); // http://code.google.com/p/flightgear-bugs/issues/detail?id=1137 if ((ident.size() < 2) || !isdigit(ident[1])) { - SG_LOG(SG_GENERAL, SG_INFO, "RunwayList::set: padding runway ident '" << ident << "'"); ident = "0" + ident; }