Skip to content

Commit

Permalink
Fix zip and permutation iterator EBO on MSVC (#3106) (#3107)
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 42095b7 commit b5fe509
Show file tree
Hide file tree
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
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion thrust/thrust/iterator/zip_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b5fe509

Please sign in to comment.