summaryrefslogtreecommitdiff
path: root/boost/spirit/home/qi/detail/alternative_function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/qi/detail/alternative_function.hpp')
-rw-r--r--boost/spirit/home/qi/detail/alternative_function.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/boost/spirit/home/qi/detail/alternative_function.hpp b/boost/spirit/home/qi/detail/alternative_function.hpp
index 88f6dad9a0..9bd0f73c7b 100644
--- a/boost/spirit/home/qi/detail/alternative_function.hpp
+++ b/boost/spirit/home/qi/detail/alternative_function.hpp
@@ -138,9 +138,8 @@ namespace boost { namespace spirit { namespace qi { namespace detail
template <typename Component>
bool call(Component const& component, mpl::false_) const
{
- // fix for alternative.cpp test case, FHE 2016-07-28
return call_optional_or_variant(
- component, mpl::not_<spirit::traits::not_is_optional<Attribute, qi::domain> >());
+ component, spirit::traits::not_is_variant<Attribute, qi::domain>());
}
template <typename Component>