Skip to content

Commit 9ac969a

Browse files
bjudebrycelelbach
authored andcommitted
Tuple Algorithms: Use correct macro in tuple_for_each
Fixes NVIDIA#970
1 parent d95f4a6 commit 9ac969a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrust/detail/tuple_algorithms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ template <typename Tuple, typename F, std::size_t... Is>
3939
void tuple_for_each_impl(Tuple&& t, F&& f, index_sequence<Is...>)
4040
{
4141
auto l = { (f(std::get<Is>(t)), 0)... };
42-
THRUST_UNUSED(l);
42+
THRUST_UNUSED_VAR(l);
4343
}
4444

4545
template <typename Tuple, typename F, std::size_t... Is>

0 commit comments

Comments
 (0)