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 {
214
214
};
215
215
};
216
216
217
- // / Declare a variant alternative implicitly convertible to the variant
217
+ // / Convert an Alternative type to a Variant
218
218
template <typename Variant>
219
- struct VariantImplicitlyConvertible {
219
+ struct VariantConvertible {
220
220
typedef Variant variant_type;
221
221
222
222
template <class T , typename std::enable_if<is_empty_variant<T>::value,
@@ -286,8 +286,7 @@ struct VariantConverter {
286
286
typedef typename details::VariantAlternatives<variant_type>::types types;
287
287
288
288
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>());
291
290
}
292
291
};
293
292
You can’t perform that action at this time.
0 commit comments