Skip to content

Commit

Permalink
Fix zip and permutation iterator EBO on MSVC (#3106)
Browse files Browse the repository at this point in the history
* Fix zip and permutation iterator EBO on MSVC
  • Loading branch information
wmaxey authored Dec 10, 2024
1 parent 8e2d6b2 commit 9f6b838
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion thrust/thrust/iterator/permutation_iterator.h
Original file line number Diff line number Diff line change
@@ -122,7 +122,8 @@ THRUST_NAMESPACE_BEGIN
* \see make_permutation_iterator
*/
template <typename ElementIterator, typename IndexIterator>
class permutation_iterator : public thrust::detail::permutation_iterator_base<ElementIterator, IndexIterator>::type
class _LIBCUDACXX_DECLSPEC_EMPTY_BASES permutation_iterator
: public thrust::detail::permutation_iterator_base<ElementIterator, IndexIterator>::type
{
/*! \cond
*/
2 changes: 1 addition & 1 deletion thrust/thrust/iterator/zip_iterator.h
Original file line number Diff line number Diff line change
@@ -131,7 +131,7 @@ THRUST_NAMESPACE_BEGIN
* \see get
*/
template <typename IteratorTuple>
class zip_iterator : public detail::zip_iterator_base<IteratorTuple>::type
class _LIBCUDACXX_DECLSPEC_EMPTY_BASES zip_iterator : public detail::zip_iterator_base<IteratorTuple>::type
{
public:
/*! The underlying iterator tuple type. Alias to zip_iterator's first template argument.

0 comments on commit 9f6b838

Please sign in to comment.