File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -214,9 +214,9 @@ struct VariantConverter {
214214 };
215215};
216216
217- // / Declare a variant alternative implicitly convertible to the variant
217+ // / Convert an Alternative type to a Variant
218218template <typename Variant>
219- struct VariantImplicitlyConvertible {
219+ struct VariantConvertible {
220220 typedef Variant variant_type;
221221
222222 template <class T , typename std::enable_if<is_empty_variant<T>::value,
@@ -286,8 +286,7 @@ struct VariantConverter {
286286 typedef typename details::VariantAlternatives<variant_type>::types types;
287287
288288 bp::to_python_converter<variant_type, variant_to_value>();
289- boost::mpl::for_each<types>(
290- details::VariantImplicitlyConvertible<variant_type>());
289+ boost::mpl::for_each<types>(details::VariantConvertible<variant_type>());
291290 }
292291};
293292
You can’t perform that action at this time.
0 commit comments