Skip to content

Commit

Permalink
Fix a shadow warning in thrust execute_with_dependencies.h
Browse files Browse the repository at this point in the history
Fix NVIDIA/thrust#1980

[skip-tests]
  • Loading branch information
hageboeck authored and miscco committed Aug 18, 2023
1 parent 8577579 commit 1abdb94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thrust/thrust/detail/execute_with_dependencies.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ struct execute_with_dependencies

public:
__host__
execute_with_dependencies(super_t const &super, Dependencies && ...dependencies)
: super_t(super), dependencies(std::forward<Dependencies>(dependencies)...)
execute_with_dependencies(super_t const &super, Dependencies && ...deps)
: super_t(super), dependencies(std::forward<Dependencies>(deps)...)
{
}

Expand Down

0 comments on commit 1abdb94

Please sign in to comment.