diff options
Diffstat (limited to 'boost/variant/polymorphic_get.hpp')
-rw-r--r-- | boost/variant/polymorphic_get.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/variant/polymorphic_get.hpp b/boost/variant/polymorphic_get.hpp index 36ca386800..05d9b0dcc8 100644 --- a/boost/variant/polymorphic_get.hpp +++ b/boost/variant/polymorphic_get.hpp @@ -77,7 +77,7 @@ struct holds_element_polymorphic : boost::mpl::not_< boost::is_same< typename boost::mpl::end<typename Variant::types>::type, - typename element_polymorphic_iterator_impl<typename Variant::types, T>::type + typename element_polymorphic_iterator_impl<typename Variant::types, typename boost::remove_reference<T>::type >::type > > {}; |