diff options
Diffstat (limited to 'boost/spirit/home/qi/operator/alternative.hpp')
-rw-r--r-- | boost/spirit/home/qi/operator/alternative.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/spirit/home/qi/operator/alternative.hpp b/boost/spirit/home/qi/operator/alternative.hpp index 9785d45101..22cfdeff56 100644 --- a/boost/spirit/home/qi/operator/alternative.hpp +++ b/boost/spirit/home/qi/operator/alternative.hpp @@ -63,17 +63,17 @@ namespace boost { namespace spirit { namespace qi type; }; - alternative(Elements const& elements) - : elements(elements) {} + alternative(Elements const& elements_) + : elements(elements_) {} template <typename Iterator, typename Context , typename Skipper, typename Attribute> bool parse(Iterator& first, Iterator const& last , Context& context, Skipper const& skipper - , Attribute& attr) const + , Attribute& attr_) const { detail::alternative_function<Iterator, Context, Skipper, Attribute> - f(first, last, context, skipper, attr); + f(first, last, context, skipper, attr_); // return true if *any* of the parsers succeed return fusion::any(elements, f); |