Skip to content
Snippets Groups Projects
Commit 4a3ef72e authored by scott snyder's avatar scott snyder
Browse files

ExpressionEvaluation: Remove use of BOOST_FOREACH.

Use range-based for instead.
parent 1a4f0f25
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/////////////////////////////////////////////////////////////////
......@@ -186,7 +186,7 @@ namespace ExpressionParsing {
void Compiler::operator()(ast::expression const& x) const
{
boost::apply_visitor(*this, x.first);
BOOST_FOREACH(ast::operation const& oper, x.rest)
for(ast::operation const& oper : x.rest)
{
(*this)(oper);
}
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/////////////////////////////////////////////////////////////////
......@@ -25,7 +25,6 @@
#include <boost/variant/apply_visitor.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/spirit/include/phoenix_function.hpp>
#include <boost/foreach.hpp>
#include <iostream>
#include <string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment