diff --git a/thrust/thrust/iterator/permutation_iterator.h b/thrust/thrust/iterator/permutation_iterator.h index 38dd35456b8..53ed3a21110 100644 --- a/thrust/thrust/iterator/permutation_iterator.h +++ b/thrust/thrust/iterator/permutation_iterator.h @@ -122,7 +122,8 @@ THRUST_NAMESPACE_BEGIN * \see make_permutation_iterator */ template -class permutation_iterator : public thrust::detail::permutation_iterator_base::type +class _LIBCUDACXX_DECLSPEC_EMPTY_BASES permutation_iterator + : public thrust::detail::permutation_iterator_base::type { /*! \cond */ diff --git a/thrust/thrust/iterator/zip_iterator.h b/thrust/thrust/iterator/zip_iterator.h index fe2203d842e..4ee987d04b5 100644 --- a/thrust/thrust/iterator/zip_iterator.h +++ b/thrust/thrust/iterator/zip_iterator.h @@ -131,7 +131,7 @@ THRUST_NAMESPACE_BEGIN * \see get */ template -class zip_iterator : public detail::zip_iterator_base::type +class _LIBCUDACXX_DECLSPEC_EMPTY_BASES zip_iterator : public detail::zip_iterator_base::type { public: /*! The underlying iterator tuple type. Alias to zip_iterator's first template argument.