Skip to content

Commit 1ad70b4

Browse files
committed
core: Rename VariantImplicitlyConvertible to VariantConvertible
1 parent 6f713be commit 1ad70b4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/eigenpy/variant.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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
218218
template <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

0 commit comments

Comments
 (0)