diff --git a/thrust/thrust/iterator/permutation_iterator.h b/thrust/thrust/iterator/permutation_iterator.h index 16b6fa33f46..9faaec6cf20 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 af2278cb528..edaa80ca39b 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.