Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit aef99dc

Browse files
authored
Merge pull request #1683 from ericniebler/iterator-category-to-traversal-bug
Fix bug in final `eval_if` branch in iterator_category_to_traversal.h metafunctions
2 parents 80df72d + 2ab7986 commit aef99dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

thrust/iterator/detail/iterator_category_to_traversal.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ template <typename Category>
4848
eval_if<
4949
is_convertible<Category, output_host_iterator_tag>::value,
5050
detail::identity_<incrementable_traversal_tag>,
51-
void
51+
detail::identity_<void>
5252
>
5353
>
5454
>
@@ -76,7 +76,7 @@ template <typename Category>
7676
eval_if<
7777
is_convertible<Category, output_device_iterator_tag>::value,
7878
detail::identity_<incrementable_traversal_tag>,
79-
void
79+
detail::identity_<void>
8080
>
8181
>
8282
>
@@ -107,7 +107,7 @@ template<typename Category>
107107
device_system_category_to_traversal<Category>,
108108

109109
// unknown category
110-
void
110+
detail::identity_<void>
111111
>
112112
>
113113
{};

0 commit comments

Comments
 (0)