diff --git a/include/boost/phoenix/statement/do_while.hpp b/include/boost/phoenix/statement/do_while.hpp index ff0a297..9c155c6 100644 --- a/include/boost/phoenix/statement/do_while.hpp +++ b/include/boost/phoenix/statement/do_while.hpp @@ -27,10 +27,10 @@ namespace boost { namespace phoenix template result_type - operator()(Cond const& cond, Do const& do_, Context const & ctx) const + operator()(Cond const& cond, Do const& do_it, Context const & ctx) const { do - boost::phoenix::eval(do_, ctx); + boost::phoenix::eval(do_it, ctx); while (boost::phoenix::eval(cond, ctx)); } }; diff --git a/include/boost/phoenix/statement/while.hpp b/include/boost/phoenix/statement/while.hpp index d9294e0..273b2e4 100644 --- a/include/boost/phoenix/statement/while.hpp +++ b/include/boost/phoenix/statement/while.hpp @@ -27,11 +27,11 @@ namespace boost { namespace phoenix template result_type - operator()(Cond const& cond, Do const& do_, Context const & ctx) const + operator()(Cond const& cond, Do const& do_it, Context const & ctx) const { while(boost::phoenix::eval(cond, ctx)) { - boost::phoenix::eval(do_, ctx); + boost::phoenix::eval(do_it, ctx); } } };