summaryrefslogtreecommitdiff
path: root/boost/spirit/home/karma/detail/alternative_function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/karma/detail/alternative_function.hpp')
-rw-r--r--boost/spirit/home/karma/detail/alternative_function.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/spirit/home/karma/detail/alternative_function.hpp b/boost/spirit/home/karma/detail/alternative_function.hpp
index 54906b256e..8e369b42e3 100644
--- a/boost/spirit/home/karma/detail/alternative_function.hpp
+++ b/boost/spirit/home/karma/detail/alternative_function.hpp
@@ -90,7 +90,7 @@ namespace boost { namespace spirit { namespace karma { namespace detail
component; // suppresses warning: C4100: 'component' : unreferenced formal parameter
#endif
return call(component, sink, ctx, d, attr
- , spirit::traits::not_is_variant<Attribute, karma::domain>());
+ , spirit::traits::not_is_variant_or_variant_in_optional<Attribute, karma::domain>());
}
template <typename OutputIterator, typename Context, typename Delimiter>