From 8a190f853fe9d9390c75a33c89056cb08ba2438b Mon Sep 17 00:00:00 2001 From: Torsten Dreyer <torsten@t3r.de> Date: Sun, 3 Feb 2019 15:04:51 +0100 Subject: [PATCH] unboost the autopilot --- src/Autopilot/autopilotgroup.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Autopilot/autopilotgroup.cxx b/src/Autopilot/autopilotgroup.cxx index ada473cb5..ea4782ac7 100644 --- a/src/Autopilot/autopilotgroup.cxx +++ b/src/Autopilot/autopilotgroup.cxx @@ -35,7 +35,6 @@ #include <simgear/structure/subsystem_mgr.hxx> #include <simgear/structure/exception.hxx> #include <Main/fg_props.hxx> -#include <boost/foreach.hpp> using std::vector; using simgear::PropertyList; @@ -131,8 +130,7 @@ void FGXMLAutopilotGroupImplementation::initFrom( SGPropertyNode_ptr rootNode, if( !rootNode ) return; - BOOST_FOREACH( SGPropertyNode_ptr autopilotNode, - rootNode->getChildren(childName) ) + for( auto autopilotNode : rootNode->getChildren(childName) ) { SGPropertyNode_ptr pathNode = autopilotNode->getNode("path"); if( !pathNode )